shell

package
v1.0.2 Latest Latest
Warning

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

Go to latest
Published: Jul 29, 2025 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetCompletionScript

func GetCompletionScript(shellType ShellType) string

func GetConfigFile

func GetConfigFile(shellType ShellType) string

func GetInitScript

func GetInitScript(shellType ShellType) string

func IsAutoApplyEnabled

func IsAutoApplyEnabled() bool

func ListAvailableScripts

func ListAvailableScripts() ([]string, error)

func SetAutoApply

func SetAutoApply(enabled bool) error

Types

type ShellType

type ShellType string
const (
	Bash    ShellType = "bash"
	Zsh     ShellType = "zsh"
	Fish    ShellType = "fish"
	Unknown ShellType = "unknown"
)

func Detect

func Detect() ShellType

Jump to

Keyboard shortcuts

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