[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Konsole in eine Zeile schreiben ?



Am 2005-07-27 17:02:31, schrieb Stefan Gourguis:

> > Einen farbigen Prompt gebastelt ?

> ja hab ich ... D.h ?

:-D  ICH BIN HELLSEHERIN  :-D

Du mußt die "" (das ist ein ^[ ) ein bischen escapen. :-)
also davor jedesmal ein "\[" setzen

export PS1="\[[\[\u@\h\[]\[:\[\w\[ > "

jetzt wird obiges warschinlich nicht sichtbar sein aber es sollte so:

export PS1="\[^[[1;33m[\[^[[31m\u@\h\[^[[33m]\[^[[34m:\[^[[32m\w\[^[[0m > "

aussehen.

> Stefan Gourguis
> mailto:brockzworld@gmail.com

Greetings
Michelle

-- 
Linux-User #280138 with the Linux Counter, http://counter.li.org/
Michelle Konzack   Apt. 917                  ICQ #328449886
                   50, rue de Soultz         MSM LinuxMichi
0033/3/88452356    67100 Strasbourg/France   IRC #Debian (irc.icq.com)

Attachment: signature.pgp
Description: Digital signature


Reply to: