kopia lustrzana https://github.com/c9/core
Add editor to the terminal
rodzic
69888da842
commit
21b75cb86b
|
@ -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 '"
|
||||
|
|
|
@ -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
|
||||
|
|
Ładowanie…
Reference in New Issue