How can I change prompt name seen at terminal?
my prompt :
<user_name>@<user_name>-MEGA-BOOK-VR320:~$
It is too long. I want to change it to:
gcc :
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?