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:
parent
b9bb504f73
commit
4697c49dc9
2
aliases
2
aliases
@ -42,7 +42,7 @@ alias svi=sudoedit
|
|||||||
# This will enable us to use aliases in sudo.
|
# 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.)
|
# (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
|
# Source: https://github.com/mayah/home/blob/master/.zsh/zshrc.d/alias.zsh
|
||||||
alias sudo='sudo '
|
alias sudo='sudo -E '
|
||||||
alias open=xdg-open
|
alias open=xdg-open
|
||||||
|
|
||||||
# Command rewrites
|
# Command rewrites
|
||||||
|
Loading…
Reference in New Issue
Block a user