Add visudo export alias for EDITOR

This commit is contained in:
flyingscorpio@arch-desktop 2020-07-24 10:06:28 +02:00
parent 9c03547485
commit f7d737d42b

View file

@ -14,6 +14,7 @@ if [ -x /bin/vim ] && [ ! -x /bin/vi ]; then
fi
alias envactivate='source .env/bin/activate'
alias visudo='export EDITOR=$EDITOR && sudo -E visudo'
# For common errors
alias :q=' exit'