mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-02-03 10:44:18 +00:00
crystal: add fish completions
fish completion was introduced in version 1.6.0
so this guard is required, now supporting 1.2.2
98a15ee1ab
This commit is contained in:
parent
5c9f897171
commit
e3382c257c
@ -220,6 +220,8 @@ let
|
||||
|
||||
install -Dm644 etc/completion.bash $out/share/bash-completion/completions/crystal
|
||||
install -Dm644 etc/completion.zsh $out/share/zsh/site-functions/_crystal
|
||||
# fish completion was introduced since 1.6.0
|
||||
test -f etc/completion.fish && install -Dm644 etc/completion.fish $out/share/fish/vendor_completions.d/crystal.fish
|
||||
|
||||
install -Dm644 man/crystal.1 $out/share/man/man1/crystal.1
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user