#!/bin/sh
# Roid post-installation steps for CLI environment

cat > /root/.bash_profile <<'EOF'
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
[[ -f /root/.bashrc ]] && [[ $- == *i* ]] && . /root/.bashrc
EOF

cat > /root/.bashrc <<'EOF'
PS1='\W # '
. /root/.roidrc
EOF

cp $TERMUX_HOME/roid/.roidrc /root/.roidrc
