Luness Asia

How not to show text before “:~$” in linux

Sometime I found that the text before “:~$” could be very long and occupying almost half of the space of the terminal windows.

You can temporary customize this text by execute the following command:

PS1='$ '

Exit mobile version