mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-28 09:53:10 +00:00
document workaround for sourcing autojump init file from zsh
This commit is contained in:
parent
a246b849eb
commit
4967e78dc8
@ -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 = {
|
||||||
|
Loading…
Reference in New Issue
Block a user