mirror of
https://github.com/keanuplayz/dotfiles.git
synced 2024-08-15 02:33:12 +00:00
[zsh] allow aliases to work with sudo
This commit is contained in:
parent
9816ec63ee
commit
5b309c193b
1 changed files with 3 additions and 1 deletions
|
@ -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'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue