Shell Completions
Grog ships with a built in completion
command that can generate shell completion scripts for
bash
, fish
, and zsh
. Installing these scripts enables auto completion of target labels and patterns
for the most common commands.
# Bashsource <(grog completion bash)
# Zshsource <(grog completion zsh)
# Fishsource <(grog completion fish)
Add the lines above to your shell startup files (e.g. .bashrc
or .zshrc
) to load the completions automatically.