hostctl
Auto completion
Add this line on your $HOME/.bashrc
source <(hostctl completion bash)
Add this line on your $HOME/.zshrc
source <(hostctl completion zsh)
NOTE: If you are using oh-my-zsh
this method won’t work. Check below.
hostctl completion zsh > $HOME/.oh-my-zsh/plugins/hostctl/_hostctl
plugins=(... hostctl)
autoload -U compinit
compinit
Last updated by Sven Luijten on August 20, 2023 at 10:27 +0200
Content