diff options
author | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-08 02:55:44 +0100 |
---|---|---|
committer | Aryadev Chavali <aryadev@aryadevchavali.com> | 2024-09-08 02:55:44 +0100 |
commit | a712e637bed1d84c5b71232016f2d7cd6ff25dee (patch) | |
tree | 0f7709472e2e6f79b2fb52cc3f3c812f5492c905 /Shell | |
parent | 19ef9e5ae4363892aa9fedb4c4cfe3657c16d9a0 (diff) | |
download | dotfiles-a712e637bed1d84c5b71232016f2d7cd6ff25dee.tar.gz dotfiles-a712e637bed1d84c5b71232016f2d7cd6ff25dee.tar.bz2 dotfiles-a712e637bed1d84c5b71232016f2d7cd6ff25dee.zip |
(Shell)+aliases
Diffstat (limited to 'Shell')
-rw-r--r-- | Shell/.zshrc | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/Shell/.zshrc b/Shell/.zshrc index 22349a2..86f18fd 100644 --- a/Shell/.zshrc +++ b/Shell/.zshrc @@ -4,6 +4,7 @@ ~/.local/scripts/cowfortune ## Aliases +alias vi="nvim" alias vim="nvim" alias less="less -R" alias sudo="doas" @@ -17,14 +18,7 @@ alias fzf="fd --hidden | fzf --layout=reverse --height=20" alias suctl="systemctl --user" alias sedit="emacsclient -a emacs -c" alias cedit="emacsclient -a emacs -nw" - -vf () { - vim $(fzf) -} - -ef () { - sedit $(fzf) -} +alias dedit="emacsclient -a emcas -nw --eval '(dired \".\" )'" psearch () { pacman -Ss $@ | less |