shell

package
v1.25.0 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2018 License: Apache-2.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FindNoProxyFromEnv

func FindNoProxyFromEnv() (string, string)

func GenerateUsageHint

func GenerateUsageHint(userShell, cmdLine string) string

func GetPrefixSuffixDelimiterForSet

func GetPrefixSuffixDelimiterForSet(userShell string) (prefix, delimiter, suffix, pathSuffix string)

func GetPrefixSuffixDelimiterForUnSet

func GetPrefixSuffixDelimiterForUnSet(userShell string) (prefix, suffix, delimiter string)

func GetShell

func GetShell(userShell string) (string, error)

Types

type ShellConfig

type ShellConfig struct {
	Prefix     string
	Delimiter  string
	Suffix     string
	PathSuffix string
}

Jump to

Keyboard shortcuts

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