On Fri, 1 May 2015 11:07:46 -0400 "Thomas H. George" <lists@tomgeorge.info> wrote: Hello Thomas, >I entered the following in .bashrc > > PS1='\033[01;33m\h:\w\$ \033[00m' > >to colorize the prompt (very handy to find the prompt when a command >fills the console screen with lines of text) Lifted from my .bashrc; PS1='${debian_chroot:+($debian_chroot)}\[\033[01;32m\]\u@\h\ [\033[00m\]:\[\033[01;34m\]\w\[\033[00m\]\$ ' Should all be on one line of course. It shows path, and doesn't overwrite prompt on line wrap, and entered command strings can be edited without problem. -- Regards _ / ) "The blindingly obvious is / _)rad never immediately apparent" No guarantee the stimuli must be perceived the same... Gary Gilmore's Eyes - The Adverts
Attachment:
pgpXygDODM0on.pgp
Description: OpenPGP digital signature