grepai completion
CLI reference for grepai completion
grepai completion
Generate shell completion scripts
Synopsis
Generate shell completion scripts for grepai.
Zsh:
Method 1: eval (add to ~/.zshrc)
eval ”$(grepai completion zsh)“
Method 2: Oh-My-Zsh
mkdir -p ${ZSH_CUSTOM:-/.oh-my-zsh/custom}/plugins/grepai
grepai completion zsh > ${ZSH_CUSTOM:-/.oh-my-zsh/custom}/plugins/grepai/_grepai
Then add “grepai” to plugins=(…) in ~/.zshrc
Method 3: Manual fpath
grepai completion zsh > ”${fpath[1]}/_grepai”
Then restart your shell
Bash:
Linux
grepai completion bash > /etc/bash_completion.d/grepai
macOS (requires bash-completion@2)
grepai completion bash > $(brew —prefix)/etc/bash_completion.d/grepai
Fish:
grepai completion fish > ~/.config/fish/completions/grepai.fish
PowerShell:
grepai completion powershell | Out-String | Invoke-Expression
Options
-h, --help help for completion
SEE ALSO
- grepai - Semantic code search CLI
- grepai completion bash - Generate bash completion script
- grepai completion fish - Generate fish completion script
- grepai completion powershell - Generate powershell completion script
- grepai completion zsh - Generate zsh completion script