Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func EnsureInitDir ¶
EnsureInitDir writes embedded init scripts to quilDir/shellinit/. Overwrites existing scripts to stay current with the binary version.
Types ¶
type ShellConfig ¶
type ShellConfig struct {
Cmd string // shell command (same as original if unchanged)
Args []string // arguments to pass to the shell
Env []string // additional env vars to merge with os.Environ()
}
ShellConfig holds modified spawn parameters for a shell with OSC 7 injection.
func Configure ¶
func Configure(shell, quilDir string) *ShellConfig
Configure returns modified spawn parameters for the given shell path. Returns nil if the shell doesn't need injection (fish, sh, cmd.exe, unknown).
Click to show internal directories.
Click to hide internal directories.