From a712e637bed1d84c5b71232016f2d7cd6ff25dee Mon Sep 17 00:00:00 2001 From: Aryadev Chavali Date: Sun, 8 Sep 2024 02:55:44 +0100 Subject: (Shell)+aliases --- Shell/.zshrc | 10 ++-------- 1 file 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 -- cgit v1.2.3-13-gbd6f