Add zsh-nvm and per-directory-history
This commit is contained in:
parent
e859cdc400
commit
6942ab1663
|
@ -87,6 +87,12 @@
|
||||||
gloga = "git log --oneline --decorate --graph --all";
|
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 = ''
|
initExtraFirst = ''
|
||||||
[[ $TERM == "tramp" ]] && unsetopt zle && PS1='$ ' && return
|
[[ $TERM == "tramp" ]] && unsetopt zle && PS1='$ ' && return
|
||||||
'';
|
'';
|
||||||
|
@ -253,6 +259,26 @@
|
||||||
};
|
};
|
||||||
file = "fzf-git.sh";
|
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";
|
||||||
|
}
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue