aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLuK1337 <priv.luk@gmail.com>2020-05-24 00:53:01 +0200
committerLuK1337 <priv.luk@gmail.com>2020-09-09 19:05:28 +0200
commitf7be77e1db4d45c29b16c1e8d148e0ddf6bb8c62 (patch)
treee09bf665ccd4a1085dd075d1a3c325c1aa6a4d51
parentf3b33581ab390206192042c92de41831a6a81557 (diff)
downloadandroid_external_bash-lineage-18.1.tar.gz
android_external_bash-lineage-18.1.tar.bz2
android_external_bash-lineage-18.1.zip
bashrc: Use full current working directory path for root as wellreplicant-11-nlnet-eu-grant-825310-replicant-updatelineage-18.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/bashrc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/bashrc b/etc/bashrc
index 4ea0d9a..2e7fd65 100644
--- a/etc/bashrc
+++ b/etc/bashrc
@@ -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