summary refs log tree commit diff
path: root/pkgs/tools/misc/autojump
diff options
context:
space:
mode:
authorJosé Luis Lafuente <jl@lafuente.me>2018-02-13 11:43:47 +0100
committerJosé Luis Lafuente <jl@lafuente.me>2018-02-13 11:52:47 +0100
commitecfafc4fbdd5a19e36c40e89bb882827485fc7b6 (patch)
tree6cc9d548197c101ee16c153db5cec63f1844891b /pkgs/tools/misc/autojump
parent67b1d6a16ddc7200e4ba10d7a44a03e2a675ca04 (diff)
downloadnixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.tar
nixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.tar.gz
nixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.tar.bz2
nixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.tar.lz
nixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.tar.xz
nixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.tar.zst
nixpkgs-ecfafc4fbdd5a19e36c40e89bb882827485fc7b6.zip
autojump: install fish shell completions
Diffstat (limited to 'pkgs/tools/misc/autojump')
-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 817510bfb76..ba38a55dda0 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