shell

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Dec 11, 2017 License: Apache-2.0 Imports: 5 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, pathVar bool) (prefix, suffix, delimiter 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
}

Jump to

Keyboard shortcuts

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