When I start bash, it looks like boom@server:~$, but when I start changing current directory, it shows full path. Even if I switch dir back to home, it shows boom@server:/home/boom$. how can I fix that?
using Ubuntu Server 20.04.1 LTS amd64
When I start bash, it looks like boom@server:~$, but when I start changing current directory, it shows full path. Even if I switch dir back to home, it shows boom@server:/home/boom$. how can I fix that?
using Ubuntu Server 20.04.1 LTS amd64
Copyright © 2021 Jogjafile Inc.
The backslash at the end of your
$HOMEvariable is the problem. Try firstand everything is normal. Search in
~/.profileand/or~/.bashrcfiles where your$HOMEvariable is set.