From 4967e78dc809c62b938a62ee72b045f83df97a6f Mon Sep 17 00:00:00 2001 From: Hoang Xuan Phu Date: Sat, 21 Mar 2015 16:50:20 +0800 Subject: [PATCH] document workaround for sourcing autojump init file from zsh --- pkgs/tools/misc/autojump/default.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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 = {