Expand description
The shell commands run under (utils/shell.ts getShellConfig on Unix): the shellPath setting when it names an
existing file (else the command fails with “Custom shell path not found: /bin/bash, else bash
found on PATH, else sh. Every shell runs the command as <shell> -c <command>.
Structs§
- Shell
Config - The shell and the arguments before the command.
Functions§
- prefixed_
command - A user
!command under theshellCommandPrefixsetting (session-control-provider.tsbash): the prefix, a newline, then the command; an absent or empty prefix leaves the command alone. - shell_
config getShellConfig(customShellPath);existschecks a path,whichfinds an executable on PATH.- shell_
config_ on_ path shell_configon this machine’s file system withbashlooked up onpath(a session’s PATH).- system_
shell_ config shell_configon this machine: the file system and this process’s PATH.