~ $ su
ermux/files/home) /data/data/com.termux/files/home <
ermux/files/home) /data/data/com.termux/files/home <
:/data/data/com.termux/files/home # exit
~ $ echo "alias root='su -m -c \"export PATH=/data/data/com.termux/files/usr/bin:\$PATH; export HOME=/data/data/com.termux/files/home; export PREFIX=/data/data/com.termux/files/usr; bash\"'" >> ~/.bashrc && source ~/.bashrc ~ $ root
bash: cannot set terminal process group (23583): Inappropriate ioctl for device
bash: no job control in this shell
~ # pkg --version
Error: Cannot run 'pkg' command as root
~ # systemctl --help
~ # echo "alias root='su -m -c \"export PATH=/data/data/com.termux/files/usr/bin:\$PATH; export HOME=/data/data/com.termux/files/home; export PREFIX=/data/data/com.termux/files/usr; bash\"'" >> ~/.bashrc && source ~/.bashrc
~ #