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 # codium
zed-editor zed-editor
]; ];
shellAliases = {
codetemp = "code -n $(mktemp -d)";
};
file = { file = {
vscode_neovim = { vscode_neovim = {
source = "${pkgs.pinned.neovim}/bin/nvim"; source = "${pkgs.pinned.neovim}/bin/nvim";

View file

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