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 }: { fetchurl, stdenv, python, bash }:
let let
version = "22.2.4"; version = "22.2.4";
in in
stdenv.mkDerivation rec { stdenv.mkDerivation rec {
@ -23,6 +23,8 @@ in
cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d" cp -v $out/share/autojump/autojump.bash "$out/etc/bash_completion.d"
# FIXME: What's the right place for `autojump.zsh'? # 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 = { meta = {