fishshell

package
v0.3.7 Latest Latest
Warning

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

Go to latest
Published: Mar 14, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Package fishshell contains a flower to install and configure the Fish shell.

Index

Constants

View Source
const (
	PromptFileSrc = "embedded/prompt_hostname.fish"
	PromptFileDst = "/etc/fish/functions/prompt_hostname.fish"

	ConfigFileSrc = "embedded/config.fish"
	ConfigFileDst = "/etc/fish/config.fish"
)
View Source
const Name = "fish-shell"

Variables

This section is empty.

Functions

This section is empty.

Types

type Conf

type Conf struct{}

type Flower

type Flower struct {
	Inst
	Conf
}

func (*Flower) Configure

func (fl *Flower) Configure() error

func (*Flower) Description

func (fl *Flower) Description() string

func (*Flower) Embedded

func (fl *Flower) Embedded() []string

func (*Flower) Init

func (fl *Flower) Init() error

func (*Flower) Install

func (fl *Flower) Install() error

func (*Flower) String

func (fl *Flower) String() string

type Inst

type Inst struct {
	Usernames []string
	// Using Fish as default shell breaks too many programs when they ssh :-(
	SetAsDefault bool
	Fsys         fs.FS
}

Jump to

Keyboard shortcuts

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