commit 0545403dc4265bc00b4dfed9df91199971579420
parent a82e9f1de4b4766d96621fbc1e5958f2fcf10318
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Wed, 5 Jan 2022 23:27:31 -0500
Fix bug with display of cwd
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/.shrc b/.shrc
@@ -2,12 +2,12 @@
# Add ENV="$HOME/.shrc" to ~/.profile
# The almighty shell prompt
-PS1='[`whoami`@`hostname -s` [1;37m`basename $PWD | sed "s,$(basename $HOME),~,"`[00m]$ '
+PS1='[`whoami`@`hostname -s` [1;37m`basename $PWD | sed "s,$(basename $HOME)\$,~,"`[00m]$ '
# Environment variables
export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
if [ -d "$HOME/.local/bin/" ]; then
- export PATH="$PATH:$HOME/.local/bin"
+ export PATH="$HOME/.local/bin:$PATH"
fi
# Aliases