diff options
author | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2015-03-21 16:50:20 +0800 |
---|---|---|
committer | Hoang Xuan Phu <phuhimself@phunehehe.net> | 2015-03-21 16:50:20 +0800 |
commit | 4967e78dc809c62b938a62ee72b045f83df97a6f (patch) | |
tree | 566a7315eec94583f1d04b0a10cc8d77e524570b /pkgs/tools/misc/autojump | |
parent | a246b849eba9f54e695483de1476798316580bfc (diff) |
document workaround for sourcing autojump init file from zsh
Diffstat (limited to 'pkgs/tools/misc/autojump')
-rw-r--r-- | pkgs/tools/misc/autojump/default.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/misc/autojump/default.nix b/pkgs/tools/misc/autojump/default.nix index b0b82f3cc762d..5f5baa17d425b 100644 --- a/pkgs/tools/misc/autojump/default.nix +++ b/pkgs/tools/misc/autojump/default.nix @@ -1,6 +1,6 @@ { fetchurl, stdenv, python, bash }: -let +let version = "22.2.4"; in stdenv.mkDerivation rec { @@ -23,6 +23,8 @@ in cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d" # FIXME: What's the right place for `autojump.zsh'? + # This can be used as a workaround in .zshrc: + # . $(dirname $(readlink -f $HOME/.nix-profile/bin/autojump))/../share/autojump/autojump.zsh ''; meta = { |