shell

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 3, 2026 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfigFilePath

func ConfigFilePath(s Shell) (string, error)

func InitScript

func InitScript(s Shell, opts InitOptions) (string, error)

func Install

func Install(s Shell, customConfigPath string) error

Types

type InitOptions

type InitOptions struct {
	ConfigPath string
}

type Shell

type Shell int
const (
	Zsh Shell = iota
	Bash
	Fish
	PowerShell
)

func Parse

func Parse(name string) (Shell, error)

func (Shell) String

func (s Shell) String() string

Jump to

Keyboard shortcuts

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