zsh: add e
alias for edit (like how vim does it)
This commit is contained in:
parent
465ac6040b
commit
5d26b501ea
1 changed files with 4 additions and 2 deletions
6
.zshrc
6
.zshrc
|
@ -51,8 +51,10 @@
|
||||||
# use nvim rather than vim if the command exists
|
# use nvim rather than vim if the command exists
|
||||||
[ -x "$(command -v nvim)" ] && alias vim='nvim' vimdiff='nvim -d'
|
[ -x "$(command -v nvim)" ] && alias vim='nvim' vimdiff='nvim -d'
|
||||||
|
|
||||||
alias vv="$EDITOR"
|
alias \
|
||||||
alias sedit='sudoedit'
|
vv="$EDITOR" \
|
||||||
|
e="$EDITOR" \
|
||||||
|
sedit='sudoedit' \
|
||||||
|
|
||||||
# I do this too much by accident smh my head
|
# I do this too much by accident smh my head
|
||||||
alias :q='exit' \
|
alias :q='exit' \
|
||||||
|
|
Loading…
Add table
Reference in a new issue