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

11 lines
139 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"
2024-07-05 13:16:48 +03:00
}