autojump: install fish shell completions

This commit is contained in:
José Luis Lafuente 2018-02-13 11:43:47 +01:00
parent 67b1d6a16d
commit ecfafc4fbd
No known key found for this signature in database
GPG Key ID: 8A3455EBE455489A

View File

@ -22,6 +22,9 @@ in
mkdir -p "$out/etc/bash_completion.d"
cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d"
mkdir -p $out/share/fish/vendor_completions.d/
cp -v $out/share/autojump/autojump.fish "$out/share/fish/vendor_completions.d/autojump.fish"
cat <<SCRIPT > $out/bin/autojump-share
#!/bin/sh
# Run this script to find the autojump shared folder where all the shell