I am on Lubuntu and I am using bash. My PS1 (in .bashrc) is :
I like it because I need to paste the working directory all the time. The problem is that the path is always very long and since I use terminator I only have half of my screen's width available to display it... it is ugly and annoying. My command prompt looks like that :
I'd like to set in my environment variables :
And then I'll get :
The goal is to have something shorter in the command prompt but I still want to be able to copy paste it and do :
It is a bit like with $HOME :
I know where I am and I can copy paste the ~.