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='$ '

Reply via email to