1
0
dotfiles/.config/zsh/alias/sudo.zsh
2024-07-05 13:16:48 +03:00

11 lines
139 B
Bash

#!/bin/zsh
function {
local c
if [ ${UID} -ne 0 ] ; then
c='sudo -i '
fi
alias sudo-i="$c"
alias sudoi="$c"
}