Merge pull request #34923 from jlesquembre/autojump

autojump: install fish shell completions
This commit is contained in:
Joachim F 2018-02-17 06:45:22 +00:00 committed by GitHub
commit 1c02b6ec94
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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