How can I change prompt name seen at terminal?
my prompt :
It is too long. I want to change it to:
However, I should see the path when I go from one directory to another.
gcc :~$ cd X_directory gcc :~/X_directory$
How can I do that, permanently?
Test it with this:
If if its what you want, then change it in your
delete or comment out this line:
and replace with
Hope that helps. More info on PS1 here.