shell

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 15, 2017 License: Apache-2.0 Imports: 3 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