add shell aliases

This commit is contained in:
sadan 2025-04-17 16:13:11 -04:00
parent 15283129d2
commit c6230a8fe9
No known key found for this signature in database
2 changed files with 7 additions and 0 deletions

View file

@ -18,6 +18,9 @@ in
# codium
zed-editor
];
shellAliases = {
codetemp = "code -n $(mktemp -d)";
};
file = {
vscode_neovim = {
source = "${pkgs.pinned.neovim}/bin/nvim";

View file

@ -41,6 +41,10 @@
eval "$(${pkgs.nh}/bin/nh completions --shell=zsh)"
setopt globstarshort
eval "$(${pkgs.docker}/bin/docker completion zsh)"
# *c*d into *n*ew *d*irectory
cnd() {
mkdir $1 && cd $1;
}
'';
enableCompletion = true;
plugins = [