Documentation
¶
Overview ¶
Package terminalsetup detects shell integration and terminal capabilities.
Index ¶
- func DefaultPath(shell string) (string, error)
- func DefaultTargetPath(target string) (string, error)
- func DetectShell(envShell string) string
- func NormalizeShell(shell string) string
- func NormalizeTarget(target string) (string, error)
- func Snippet(shell string) (string, error)
- func TargetSnippet(target string) (string, error)
- type Options
- type Report
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DefaultPath ¶
func DefaultTargetPath ¶
func DetectShell ¶
func NormalizeShell ¶
func NormalizeTarget ¶
func TargetSnippet ¶
Types ¶
type Report ¶
type Report struct {
Kind string `json:"kind"`
Action string `json:"action"`
Status string `json:"status"`
Target string `json:"target,omitempty"`
Shell string `json:"shell"`
Path string `json:"path,omitempty"`
Installed bool `json:"installed"`
Changed bool `json:"changed,omitempty"`
Snippet string `json:"snippet,omitempty"`
Message string `json:"message,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.