Add the output of the following command to your preferred completions file(e.g. ~/.config/bash_completions.d/stack
).
stack --bash-completion-script $(which stack)
You may need to source
this.
Add the output of the following command to your preferred completions file(e.g. ~/.config/zsh/completions/_stack
).
stack --zsh-completion-script $(which stack)
You won't need to source
this, but do update your fpath
:
fpath=($HOME/.config/zsh/completions $fpath)autoload -U compinit && compinit
Add the output of the following command to your preferred completions file(e.g. ~/.config/fish/completions/stack.fish
).
stack --fish-completion-script $(which stack)