mksh $HOME not shortened to "~"
mabequinho opened this issue · comments
It doesn't look as if the Polyglot Prompt has loaded - if it had, you'd be seeing something more like
username ~ $
How are you sourcing (loading) the prompt?
I`m sorry Mr @agkozak i should have mentioned that i commented the following line.
How are you sourcing (loading) the prompt?
source ~/clones/polyglot/polyglot.sh
It looks as if your $HOME
variable is set to /home/erika/
(the trailing slash would be a bit unusual). Could you check the value by running
echo $HOME
?
You`re right .
$ echo $HOME
/home/erika/
Same issue with bash, i really didn't manually set this value anywhere. I am closing, since it looks like an issue on my machine. Thanks for your time.
"${PWD/\/home\/USERNAME/\~}"