From 8afdc748986f4304d0f46210c8db5a814bd44a87 Mon Sep 17 00:00:00 2001 From: self Date: Mon, 21 Feb 2022 12:19:38 +0000 Subject: Added sudo alias to allow carrying aliases into sudo --- zsh/.zshrc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'zsh/.zshrc') diff --git a/zsh/.zshrc b/zsh/.zshrc index 2240139..a71a22a 100644 --- a/zsh/.zshrc +++ b/zsh/.zshrc @@ -41,6 +41,9 @@ PS1='[%F{#1111ee}%1d%f] => ' PROMPT=$PS1 ########## Aliases / Functions ########## +# allow sudo to make use of aliases +alias sudo="sudo " + # ls / exa alias ls='ls -a --color=always' alias e="exa -a --header --long --git --time-style=long-iso" -- cgit v1.2.1