メインコンテンツまでスキップ

shell

You can set shell.program to the path of your favorite shell, e.g. /bin/fish.

Entries in shell.args are passed unmodified as arguments to the shell.

Default:

  • (macOS) user login shell
  • (Linux/BSD) user login shell
  • (Windows) powershell

Shell Examples

  1. MacOS using fish shell from bin path:
[shell]
program = "/bin/fish"
args = ["--login"]
  1. Windows using powershell:
[shell]
program = "pwsh"
args = []
  1. Windows using powershell with login:
[shell]
program = "pwsh"
args = ["-l"]
  1. MacOS with tmux installed by homebrew:
[shell]
program = "/opt/homebrew/bin/tmux"
args = ["new-session", "-c", "/var/www"]