Add visudo export alias for EDITOR
This commit is contained in:
parent
9c03547485
commit
f7d737d42b
1 changed files with 1 additions and 0 deletions
|
@ -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'
|
||||
|
|
Loading…
Add table
Reference in a new issue