crystal: add fish completions
fish completion was introduced in version 1.6.0 so this guard is required, now supporting 1.2.2 https://github.com/crystal-lang/crystal/commit/98a15ee1ab90c2590d43529ea527c6ffc0ce318d
This commit is contained in:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user