Add editor to the terminal

pull/85/head
Ruben Daniels 2015-05-01 01:44:12 +00:00
rodzic 69888da842
commit 21b75cb86b
2 zmienionych plików z 1 dodań i 4 usunięć

2
node_modules/vfs-local/localfs.js wygenerowano vendored
Wyświetl plik

@ -1829,7 +1829,7 @@ module.exports = function setup(fsOptions) {
options.command = "echo '[Idle]'";
if (options.terminal)
args.push("export ISOUTPUTPANE=0;" + BASH + " -l");
args.push("export ISOUTPUTPANE=0; export EDITOR='`which c9` open --wait'; " + BASH + " -l");
else if (options.command)
args.push((BASH + " -l -c '"

Wyświetl plik

@ -157,9 +157,6 @@ module.exports = function(c9, proc, installPath, shell) {
options.output = false;
options.terminal = true;
options.detachOthers = !session.hasConnected;
options.env = {
"EDITOR": "`which c9` open --wait"
};
}
// Connect to backend and start tmux session