shell

package
v1.34.1 Latest Latest
Warning

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

Go to latest
Published: Jul 16, 2019 License: Apache-2.0 Imports: 6 Imported by: 7

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