1
0
dotfiles/.config/zsh/alias/sudo.zsh
2024-02-18 02:32:08 +03:00

10 lines
138 B
Bash

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