aboutsummaryrefslogtreecommitdiff
path: root/.bash_profile
diff options
context:
space:
mode:
authortdro <tdro@users.noreply.github.com>2022-03-10 12:05:37 -0500
committertdro <tdro@users.noreply.github.com>2022-03-10 12:05:37 -0500
commit15c4423579e5f74e11f2e052048e203b3d303061 (patch)
tree2067adcfd1d0f379b98e2a13c47a49bf5376f156 /.bash_profile
parent4152887cace04372ca91eb9a4fa95dec0f32ab90 (diff)
downloaddotfiles-15c4423579e5f74e11f2e052048e203b3d303061.tar.gz
dotfiles-15c4423579e5f74e11f2e052048e203b3d303061.tar.bz2
dotfiles-15c4423579e5f74e11f2e052048e203b3d303061.zip
.bash_profile: PS1 use \w instead of \W
Diffstat (limited to '.bash_profile')
-rw-r--r--.bash_profile6
1 files changed, 3 insertions, 3 deletions
diff --git a/.bash_profile b/.bash_profile
index 1fc44a9..6b75ff4 100644
--- a/.bash_profile
+++ b/.bash_profile
@@ -19,9 +19,9 @@ prefixPath "$HOME/.local/bin/scripts";
umask 0022;
-PS1_USER='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;34m\]\W\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] '
-PS1_ROOT='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;31m\]\W\[\e[0m\] \[\e[0;31m\]\$\[\e[0m\] '
-PS1_SSHD='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;32m\]\W\[\e[0m\] \[\e[0;32m\]\$\[\e[0m\] '
+PS1_USER='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;34m\]\w\[\e[0m\] \[\e[0;34m\]\$\[\e[0m\] '
+PS1_ROOT='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;31m\]\w\[\e[0m\] \[\e[0;31m\]\$\[\e[0m\] '
+PS1_SSHD='$(E=$? && [ "$E" = 0 ] || echo "$E ")\[\e[0;32m\]\w\[\e[0m\] \[\e[0;32m\]\$\[\e[0m\] '
[ "$EUID" != 0 ] && export PS1="$PS1_USER";
[ "$EUID" = 0 ] && export PS1="$PS1_ROOT";