install

package
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2026 License: MIT Imports: 10 Imported by: 1 module, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmFromStdin

func ConfirmFromStdin(reader *bufio.Reader) func(string) bool

func MissingTools

func MissingTools(results []doctor.Result) []string

func ReadRawKey

func ReadRawKey() ([]byte, error)

func RunInTerminal

func RunInTerminal(name string, args ...string) error

func TmuxServerRunning

func TmuxServerRunning() bool

Types

type Installer

type Installer struct {
	Out                  io.Writer
	HomeDir              string
	Confirm              func(question string) bool
	ReadKey              func() ([]byte, error)
	LookPath             func(name string) (string, error)
	RunCommand           func(name string, args ...string) error
	TmuxServerRunning    func() bool
	InstallNotifications func() error
	MissingTools         []string
}

func (*Installer) InstallDependencies

func (installer *Installer) InstallDependencies() error

func (*Installer) InstallShortcut

func (installer *Installer) InstallShortcut() error

func (*Installer) Run

func (installer *Installer) Run() error

type Shortcut

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

func ParseShortcut

func ParseShortcut(raw []byte) (Shortcut, bool)

func (Shortcut) Name

func (shortcut Shortcut) Name() string

func (Shortcut) Tmux

func (shortcut Shortcut) Tmux() string

func (Shortcut) Zsh

func (shortcut Shortcut) Zsh() string

Jump to

Keyboard shortcuts

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