1
0
mirror of https://github.com/frebib/dotfiles.git synced 2024-06-14 12:57:23 +00:00

Always pass environment variables with sudo

This commit is contained in:
Joe Groocock 2017-02-25 02:46:21 +00:00
parent b9bb504f73
commit 4697c49dc9
Signed by: frebib
GPG Key ID: E0B16BEACFBB6A86

View File

@ -42,7 +42,7 @@ alias svi=sudoedit
# This will enable us to use aliases in sudo.
# (If alias finishes with a space or tab, the shell will check if the next command is also aliased.)
# Source: https://github.com/mayah/home/blob/master/.zsh/zshrc.d/alias.zsh
alias sudo='sudo '
alias sudo='sudo -E '
alias open=xdg-open
# Command rewrites