setup

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var SupportedShells = []string{"zsh"}
View Source
var ZshCmd = &cobra.Command{
	Use:   "zsh",
	Short: "Output shell setup for zsh",
	Long:  `Output shell setup for zsh`,
	RunE: func(cmd *cobra.Command, args []string) error {
		content, err := zshSetupScript.ReadFile(zshSetupScriptName)
		if err != nil {
			return err
		}
		fmt.Println(string(content))
		return nil
	},
}

initCmd represents the init command

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳