Session.SetDefaultShell
SetDefaultShell stores the "default-shell" session option as string. Read it with SessionOptionValues.DefaultShell from Session.Options; Session.UnsetOption restores inheritance or the global default.
Source and package
- Qualified name
-
tmux.Session. Set Default Shell - Package
- tmux
- Declared in
Session- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/option_generated.go