Add zsh-nvm and per-directory-history

This commit is contained in:
David Morgan 2023-01-12 16:11:22 +00:00
parent e859cdc400
commit 6942ab1663
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 26 additions and 0 deletions

View File

@ -87,6 +87,12 @@
gloga = "git log --oneline --decorate --graph --all";
};
localVariables = {
PER_DIRECTORY_HISTORY_TOGGLE = "^\\\\"; # ^\\ is ^#
HISTORY_START_WITH_GLOBAL=true;
NVM_AUTO_USE = true;
NVM_LAZY_LOAD = true;
};
initExtraFirst = ''
[[ $TERM == "tramp" ]] && unsetopt zle && PS1='$ ' && return
'';
@ -253,6 +259,26 @@
};
file = "fzf-git.sh";
}
{
name = "per-directory-history";
src = fetchFromGitHub {
owner = "jimhester";
repo = "per-directory-history";
rev = "0687bbfd736da566472a6d67c2b45c501b73d405";
sha256 = "7Z0qaDhgopKt9BDKSqdziw9jsVgiLLafs30wPPbz+oo=";
};
file = "per-directory-history.zsh";
}
{
name = "zsh-nvm";
src = fetchFromGitHub {
owner = "lukechilds";
repo = "zsh-nvm";
rev = "23067bd9bb6eb6f4737a3ea90cb0cb5e85f61ba2";
sha256 = "Zwdi7bezMFKaIKYwsSftu3mJSFvadEWmY2hYnU1Kpu4=";
};
file = "zsh-nvm.plugin.zsh";
}
];
};
}