2

When i'm in a deep folder hierarchy the entire list of folders are seen before $

enter image description here

How can i make this short even though i'm in the same folder.

0

1 Answer 1

1

There is not an easy way to do this, but take a look at this question for more information on how to write a script to do this for you:

trim the terminal command prompt working directory

Best, Lev

1
  • I suggest to use the 2nd answer though. The first is a bit inelegant and outdated. Sep 28, 2014 at 17:52

Not the answer you're looking for? Browse other questions tagged .