about summary refs log tree commit diff
path: root/pkgs/tools
diff options
context:
space:
mode:
authorJoachim F <joachifm@users.noreply.github.com>2018-02-17 06:45:22 +0000
committerGitHub <noreply@github.com>2018-02-17 06:45:22 +0000
commit1c02b6ec945f8d6032e45678b8a154efc920b394 (patch)
tree212860c2a834ae3475180dd74af8e3afab366319 /pkgs/tools
parent90d34e7436aa3fdb4a331343459d10555b2babf8 (diff)
parentecfafc4fbdd5a19e36c40e89bb882827485fc7b6 (diff)
downloadnixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.tar
nixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.tar.gz
nixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.tar.bz2
nixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.tar.lz
nixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.tar.xz
nixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.tar.zst
nixlib-1c02b6ec945f8d6032e45678b8a154efc920b394.zip
Merge pull request #34923 from jlesquembre/autojump
autojump: install fish shell completions
Diffstat (limited to 'pkgs/tools')
-rw-r--r--pkgs/tools/misc/autojump/default.nix3
1 files changed, 3 insertions, 0 deletions
diff --git a/pkgs/tools/misc/autojump/default.nix b/pkgs/tools/misc/autojump/default.nix
index 817510bfb761..ba38a55dda02 100644
--- a/pkgs/tools/misc/autojump/default.nix
+++ b/pkgs/tools/misc/autojump/default.nix
@@ -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