From 5b309c193bda5fa8271fe2434c37beb4ef4a83bb Mon Sep 17 00:00:00 2001 From: Dmytro Meleshko Date: Wed, 1 May 2019 16:33:39 +0300 Subject: [PATCH] [zsh] allow aliases to work with sudo --- zsh/aliases.zsh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/aliases.zsh b/zsh/aliases.zsh index 088cd44..9580bb9 100644 --- a/zsh/aliases.zsh +++ b/zsh/aliases.zsh @@ -1,7 +1,9 @@ #!/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 '$'='' +# this alias allows aliases to work with sudo +alias sudo='sudo ' alias grep='grep --color=auto'