shell

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Oct 15, 2022 License: MIT Imports: 17 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Wrapper

type Wrapper struct {
	// contains filtered or unexported fields
}

func AvailableShells

func AvailableShells() []*Wrapper

func New

func New(shell instance) *Wrapper

func (*Wrapper) AddPath

func (w *Wrapper) AddPath(path string) error

func (*Wrapper) Available

func (w *Wrapper) Available() bool

func (*Wrapper) BinPath

func (w *Wrapper) BinPath() (string, error)

func (*Wrapper) Export

func (w *Wrapper) Export(paths []string) error

func (*Wrapper) IsDefault

func (w *Wrapper) IsDefault() bool

func (*Wrapper) Name

func (w *Wrapper) Name() string

func (*Wrapper) Paths

func (w *Wrapper) Paths() ([]string, error)

func (*Wrapper) RemovePath

func (w *Wrapper) RemovePath(path string) error

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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