about summary refs log tree commit diff
path: root/pkgs/tools/misc/autojump/default.nix
diff options
context:
space:
mode:
authorHoang Xuan Phu <phuhimself@phunehehe.net>2015-03-21 16:50:20 +0800
committerHoang Xuan Phu <phuhimself@phunehehe.net>2015-03-21 16:50:20 +0800
commit4967e78dc809c62b938a62ee72b045f83df97a6f (patch)
tree566a7315eec94583f1d04b0a10cc8d77e524570b /pkgs/tools/misc/autojump/default.nix
parenta246b849eba9f54e695483de1476798316580bfc (diff)
downloadnixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.tar
nixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.tar.gz
nixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.tar.bz2
nixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.tar.lz
nixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.tar.xz
nixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.tar.zst
nixlib-4967e78dc809c62b938a62ee72b045f83df97a6f.zip
document workaround for sourcing autojump init file from zsh
Diffstat (limited to 'pkgs/tools/misc/autojump/default.nix')
-rw-r--r--pkgs/tools/misc/autojump/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/pkgs/tools/misc/autojump/default.nix b/pkgs/tools/misc/autojump/default.nix
index b0b82f3cc762..5f5baa17d425 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 = {