MCPcopy Create free account
hub / github.com/celer-pkg/celer / NewZshCompletion

Function NewZshCompletion

completion/zsh.go:224–231  ·  view source on GitHub ↗
(homeDir string, rootCmd *cobra.Command)

Source from the content-addressed store, hash-verified

222}
223
224func NewZshCompletion(homeDir string, rootCmd *cobra.Command) zsh {
225 return zsh{
226 homeDir: homeDir,
227 registerFpath: "fpath=($HOME/.local/share/zsh/site-functions $fpath) # added by celer",
228 registerBinary: "export PATH=$HOME/.local/bin:$PATH # added by celer",
229 rootCmd: rootCmd,
230 }
231}

Calls

no outgoing calls