setup

package
v0.9.11 Latest Latest
Warning

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

Go to latest
Published: May 15, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BashCmd = &cobra.Command{
	Use:   "bash",
	Short: "Output shell setup for bash",
	Long:  `Output shell setup for bash`,
	RunE:  runCmd,
}

initCmd represents the init command

View Source
var DashCmd = &cobra.Command{
	Use:   "dash",
	Short: "Output shell setup for dash",
	Long:  `Output shell setup for dash`,
	RunE:  runCmd,
}
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