shell

package
v1.15.0 Latest Latest
Warning

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

Go to latest
Published: Aug 25, 2020 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GenerateUsageHint

func GenerateUsageHint(userShell, cmdLine string) string

func GetEnvString

func GetEnvString(userShell string, envName string, envValue string) string

func GetPathEnvString

func GetPathEnvString(userShell string, prependedPath string) string

func GetShell

func GetShell(userShell string) (string, error)

Types

type Config added in v1.14.0

type Config 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