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
|
# 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";
|
||||||
|
|
|
@ -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 = [
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue