I'm able to change the terminal prefix with PS1="[\\W]$"
.
However, whenever I restart the terminal or open a new instance, it reverts to the default.
How can I make this change permanent?
Thanks!
Here's the content of ~/.profile
file:
PS1="[\\W]\\$"
echo 'PS1="[\\W]$"' >> $HOME/.profile
.profile
file..profile
file.