Shell auto-completion - The Haskell Tool Stack (2024)

Add the output of the following command to your preferred completions file(e.g. ~/.config/bash_completions.d/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)
Shell auto-completion - The Haskell Tool Stack (2024)
Top Articles
Latest Posts
Article information

Author: Velia Krajcik

Last Updated:

Views: 6430

Rating: 4.3 / 5 (54 voted)

Reviews: 85% of readers found this page helpful

Author information

Name: Velia Krajcik

Birthday: 1996-07-27

Address: 520 Balistreri Mount, South Armand, OR 60528

Phone: +466880739437

Job: Future Retail Associate

Hobby: Polo, Scouting, Worldbuilding, Cosplaying, Photography, Rowing, Nordic skating

Introduction: My name is Velia Krajcik, I am a handsome, clean, lucky, gleaming, magnificent, proud, glorious person who loves writing and wants to share my knowledge and understanding with you.