dotfiles/config/nix/unprocessed/termux/scripts/sudo

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