Tagged Questions
6
votes
4answers
2k views
trim the terminal command prompt working directory
When using the terminal in a deep folder structure sometimes the prompt can take up most of the line. Is there any way in which I can trim the working directory? I know I can do
PS1="\W >"
to only ...