Tab completion
Tab completion can complete config groups, config nodes and values.
To complete paths, start them with /
or ./
.
See this short video demonstration of tab completion:
Install tab completionβ
Get the exact command to install the completion from --hydra-help
.
Currently, Bash, zsh and Fish are supported.
We are relying on the community to implement tab completion plugins for additional shells.
Fish instructionsβ
Fish support requires version >= 3.1.2.
Previous versions will work but add an extra space after .
.
Because the fish shell implements special behavior for expanding words prefixed with a tilde character '~', command-line completion does not work for tilde deletions.
Zsh instructionsβ
Zsh is compatible with the existing Bash shell completion by appending
autoload -Uz bashcompinit && bashcompinit
to the .zshrc
file after compinit
, restarting the shell and then using the commands provided for Bash.
Because the zsh shell implements special behavior for expanding words prefixed with a tilde character '~', command-line completion does not work for tilde deletions.