Jim Cheetham wrote:
On Tue, Aug 11, 2009 at 11:44 AM, Douglas Royds<[email protected]> wrote:
Limit the length of the displayed path in the Bash prompt.
...
 1. Trim the path to the last 30 characters, and cut off a partial
    leading directory name
 2. Just display the last three directory names in the path

3. export PS1='$ '

Purist.




=======================================================================
This email, including any attachments, is only for the intended
addressee.  It is subject to copyright, is confidential and may be
the subject of legal or other privilege, none of which is waived or
lost by reason of this transmission.
If the receiver is not the intended addressee, please accept our
apologies, notify us by return, delete all copies and perform no
other act on the email.
Unfortunately, we cannot warrant that the email has not been
altered or corrupted during transmission.
=======================================================================

Reply via email to