From 5d26b501eaac6e6c64f7f408682097d9309ba063 Mon Sep 17 00:00:00 2001 From: PowerUser64 Date: Sun, 7 Nov 2021 21:36:39 -0800 Subject: [PATCH] zsh: add `e` alias for edit (like how vim does it) --- .zshrc | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/.zshrc b/.zshrc index 59a8bad..2db7b76 100644 --- a/.zshrc +++ b/.zshrc @@ -51,8 +51,10 @@ # use nvim rather than vim if the command exists [ -x "$(command -v nvim)" ] && alias vim='nvim' vimdiff='nvim -d' - alias vv="$EDITOR" - alias sedit='sudoedit' + alias \ + vv="$EDITOR" \ + e="$EDITOR" \ + sedit='sudoedit' \ # I do this too much by accident smh my head alias :q='exit' \