Merge pull request #6915 from phunehehe/autojump-zsh

document workaround for sourcing autojump init file from zsh
This commit is contained in:
Domen Kožar 2015-03-21 19:19:28 +01:00
commit ca98016c2a

View file

@ -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 = {