diff --git a/bashrc.d/prompt.sh b/bashrc.d/prompt.sh index 3bbef85..db2c426 100644 --- a/bashrc.d/prompt.sh +++ b/bashrc.d/prompt.sh @@ -20,7 +20,10 @@ p_start() { } p_user() { - user=$(grep $USER /etc/passwd | cut -d: -f5) +if [ -z $TERMUX_VERSION ] + then + user=$(grep $USER /etc/passwd | cut -d: -f5) + fi if [ -z $user ] then echo -e "${bg_orange}${fg_noir}\u"