shell

package
v2.54.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 18, 2026 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ShellFish       = "fish"
	ShellBash       = "bash"
	ShellZsh        = "zsh"
	ShellPowershell = "powershell"
	ShellPwsh       = "pwsh"
	ShellPosixShell = "sh"
	ShellAuto       = "auto"
)

Functions

func DetectShell

func DetectShell(defaultValue string) string

DetectShell detect the shell type, i.e. fish, bash, zsh or powershell

func SupportTabCompletionShells added in v2.52.0

func SupportTabCompletionShells(additional ...string) []string

func SupportedShells added in v2.52.0

func SupportedShells(additional ...string) []string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL