diff options
author | Dan Pasanen <dan.pasanen@gmail.com> | 2015-11-24 09:54:51 -0600 |
---|---|---|
committer | Dan Pasanen <dan.pasanen@gmail.com> | 2015-11-24 09:54:51 -0600 |
commit | 3e80b52e4a09094ca053ede91af46e37d907675a (patch) | |
tree | 27ed231d3ad0a0beb851bd6567c7a963f460ca5b | |
parent | 76a049a87534099aaf276a677db0a3d634de0186 (diff) | |
download | android_external_bash-3e80b52e4a09094ca053ede91af46e37d907675a.tar.gz android_external_bash-3e80b52e4a09094ca053ede91af46e37d907675a.tar.bz2 android_external_bash-3e80b52e4a09094ca053ede91af46e37d907675a.zip |
bashrc: correct PS1
Change-Id: I46623b6912444d74981087e00d1210f95613f655
-rw-r--r-- | etc/bashrc | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -32,9 +32,9 @@ use_color=false # enable colorful terminal if [[ ${EUID} == 0 ]] ; then - PS1='\[\033[01;31m\]\h\[\033[01;34m\] \W \$\[\033[00m\] ' + PS1='\[\033[01;31m\]${HOSTNAME:=$(hostname)}\[\033[01;34m\] \W \$\[\033[00m\] ' else - PS1='\[\033[01;32m\]\u@\h\[\033[01;34m\] \w \$\[\033[00m\] ' + PS1='\[\033[01;32m\]${USER:=$(id \-un)}@${HOSTNAME:=$(hostname)}\[\033[01;34m\] \w \$\[\033[00m\] ' fi alias sysro='mount -o remount,ro /system' |