|
From: | Bob Proulx |
Subject: | Re: how to workaroun 'nl' being added to input-line after 49 characters.... |
Date: | Mon, 14 Feb 2011 10:05:11 -0700 |
User-agent: | Mutt/1.5.20 (2009-06-14) |
Greg Wooledge wrote: > red=$(tput setaf 1) bold=$(tput bold) reset=$(tput sgr0) > PS1='\[$red\]\h\[$reset\]:\[$bold\]\w\[$reset\]\$ ' > > I tested that. It works. Nicely cleaned up! > PS1='\h:\w\$ ' For what it is worth I use something similar: PS1='\u@\h:\w\$ ' Bob
[Prev in Thread] | Current Thread | [Next in Thread] |