From d897676a894faf52cbb3b7b8fe4e9b7a990c896a Mon Sep 17 00:00:00 2001 From: Doug Kearns Date: Mon, 20 Sep 2010 23:02:35 +1000 Subject: [PATCH] Don't source an extra *.local RC file from the generated RC file. --- common/content/io.js | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/common/content/io.js b/common/content/io.js index 7234555b..54a158f0 100644 --- a/common/content/io.js +++ b/common/content/io.js @@ -583,7 +583,6 @@ lookup: function () { dactyl.echomsg(io.getCurrentDirectory().path); }, { argCount: "0" }); - // "mkv[imperatorrc]" or "mkm[uttatorrc]" commands.add([config.name.replace(/(.)(.*)/, "mk$1[$2rc]")], "Write current key mappings and changed options to the config file", function (args) { @@ -599,17 +598,7 @@ lookup: let lines = [cmd.serialize().map(commands.commandToString) for (cmd in commands) if (cmd.serialize)]; lines = array.flatten(lines); - // source a user .pentadactylrc file lines.unshift('"' + dactyl.version + "\n"); - - // For the record, I think that adding this line is absurd. --Kris - // I can't disagree. --djk - lines.push(commands.commandToString({ - command: "source", - bang: true, - arguments: [filename + ".local"] - })); - lines.push("\n\" vim: set ft=" + config.name + ":"); try {