From 8ef134d8d5647be72d712810706e861a6b0177f8 Mon Sep 17 00:00:00 2001 From: Jing Dong Date: Sun, 14 May 2017 11:33:21 +0100 Subject: [PATCH] Add documentation for Windows shells in config file (#1605) * Add documentation for Windows in config file Give real example for bash and PowerShell setup --- app/config-default.js | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/app/config-default.js b/app/config-default.js index 440faaeb..7221c0df 100644 --- a/app/config-default.js +++ b/app/config-default.js @@ -70,9 +70,16 @@ module.exports = { // the shell to run when spawning a new session (i.e. /usr/local/bin/fish) // if left empty, your system's login shell will be used by default - // make sure to use a full path if the binary name doesn't work - // (e.g `C:\\Windows\\System32\\bash.exe` instead of just `bash.exe`) - // if you're using powershell, make sure to remove the `--login` below + // + // Windows + // - Make sure to use a full path if the binary name doesn't work + // - Remove `--login` in shellArgs + // + // Bash on Windows + // - Example: `C:\\Windows\\System32\\bash.exe` + // + // Powershell on Windows + // - Example: `C:\\WINDOWS\\System32\\WindowsPowerShell\\v1.0\\powershell.exe` shell: '', // for setting shell arguments (i.e. for using interactive shellArgs: ['-i'])