shell

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: May 29, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// Bash is the bourne again shell
	Bash Type = "Bash"

	// Fish indicates the fish shell
	Fish = "Fish"

	// Zsh indicates the fish shell
	Zsh = "Zsh"

	// Unknown indicates we aren't sure of the shell
	Unknown = "Unknown"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type Type

type Type string

Type is the type of shell

func GetShellType

func GetShellType(historyFileName string) Type

GetShellType tries to figure out the shell type from a history file name

Jump to

Keyboard shortcuts

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