[zsh] allow aliases to work with sudo

This commit is contained in:
Dmytro Meleshko 2019-05-01 16:33:39 +03:00
parent 9816ec63ee
commit 5b309c193b

View file

@ -1,7 +1,9 @@
#!/usr/bin/env zsh #!/usr/bin/env zsh
# This alias removes leading dollar sign. Useful when copying code from Stackoverflow # this alias removes leading dollar sign (useful when copying code from Stackoverflow)
alias '$'='' alias '$'=''
# this alias allows aliases to work with sudo
alias sudo='sudo '
alias grep='grep --color=auto' alias grep='grep --color=auto'