diff options
author | LuK1337 <priv.luk@gmail.com> | 2020-05-24 00:53:01 +0200 |
---|---|---|
committer | LuK1337 <priv.luk@gmail.com> | 2020-05-24 00:56:00 +0200 |
commit | 5f857b9e5a9accf0fc9c35be4cb024766d556275 (patch) | |
tree | 8f612faa6a77c4469035f764daebca314afe22c0 | |
parent | b330f71da7f799e1107bf9af18f00f44fe8a1841 (diff) | |
download | android_external_bash-lineage-17.1.tar.gz android_external_bash-lineage-17.1.tar.bz2 android_external_bash-lineage-17.1.zip |
bashrc: Use full current working directory path for root as welllineage-17.1
* There's no real reason to show just the current
working directory basename for root, is there?
Change-Id: I5c275a94dacdcd1f375422de604ad929c8459625
-rw-r--r-- | etc/bashrc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -32,7 +32,7 @@ use_color=false # enable colorful terminal if [[ ${EUID} == 0 ]] ; then - PS1='\[\033[01;31m\]${HOSTNAME:=$(hostname)}\[\033[01;34m\] \W \$\[\033[00m\] ' + PS1='\[\033[01;31m\]${HOSTNAME:=$(hostname)}\[\033[01;34m\] \w \$\[\033[00m\] ' else PS1='\[\033[01;32m\]${USER:=$(id \-un)}@${HOSTNAME:=$(hostname)}\[\033[01;34m\] \w \$\[\033[00m\] ' fi |