1
0
dotfiles/.config/zsh/alias/sudo.zsh

10 lines
138 B
Bash
Raw Normal View History

2021-03-21 18:25:10 +03:00
#!/bin/zsh
2024-02-18 02:32:08 +03:00
function {
local c
if [ ${UID} -ne 0 ] ; then
c='sudo -i '
fi
alias sudo-i="$c"
alias sudoi="$c"
}