mirror of
https://github.com/sadan4/dotfiles.git
synced 2025-06-07 13:03:03 -04:00
add shell aliases
This commit is contained in:
parent
15283129d2
commit
c6230a8fe9
2 changed files with 7 additions and 0 deletions
|
@ -18,6 +18,9 @@ in
|
|||
# codium
|
||||
zed-editor
|
||||
];
|
||||
shellAliases = {
|
||||
codetemp = "code -n $(mktemp -d)";
|
||||
};
|
||||
file = {
|
||||
vscode_neovim = {
|
||||
source = "${pkgs.pinned.neovim}/bin/nvim";
|
||||
|
|
|
@ -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 = [
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue