dotfiles/termux/scripts/sudo
2017-09-17 14:34:37 +00:00

12 lines
143 B
Bash
Executable file

#!/data/data/com.termux/files/usr/bin/bash
#
# Substitution for sudo
#
if [ "$(whoami)" != 'root' ]
then
echo "$@" | tsu
else
"$@"
fi