Limit the length of the displayed path in the Bash prompt. Loosely based
on the ideas at:
http://www.faqs.org/docs/Linux-HOWTO/Bash-Prompt-HOWTO.html#AEN768
Two mechanisms are presented (one of them is commented out):
1. Trim the path to the last 30 characters, and cut off a partial
On Tue, Aug 11, 2009 at 11:44 AM, Douglas Roydsdouglas.ro...@tait.co.nz 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
Jim Cheetham wrote:
On Tue, Aug 11, 2009 at 11:44 AM, Douglas Roydsdouglas.ro...@tait.co.nz 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
Douglas Royds wrote, On 11/08/09 14:18:
Jim Cheetham wrote:
On Tue, Aug 11, 2009 at 11:44 AM, Douglas
Roydsdouglas.ro...@tait.co.nz 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