Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Kind ¶
type Kind string
Kind represents the type of shell.
const ( Bash Kind = "bash" Zsh Kind = "zsh" Dash Kind = "dash" Fish Kind = "fish" Unknown Kind = "unknown" )
Define constants for ShellKind here, based on your needs, e.g., Bash, Zsh, etc.
func ShellKindFromString ¶
ShellKindFromString tries to match a string to a shell Kind.
Click to show internal directories.
Click to hide internal directories.