You are not logged in.

#1 2011-02-16 04:39:35

ah
Member
Registered: 2010-08-15
Posts: 22

$PS1 config how to

How would I get my bash prompt to look like this? I'm particularly interested in how prompt spans the width of the terminal and has box-drawing symbols like "┌──":
http://i55.tinypic.com/anzm34.png

Thanks,
ah

-- mod edit: read the Forum Etiquette and only post thumbnails http://wiki.archlinux.org/index.php/For … s_and_Code [jwr] --

Last edited by ah (2011-02-16 04:43:04)

Offline

#2 2011-02-16 05:25:38

kcirick
Member
Registered: 2010-06-21
Posts: 364

Re: $PS1 config how to

you can start from here:
http://www.gilesorr.com/bashprompt/prompts/

Google should give you tons of resources. I think Arch wiki has some information, as well as this

Offline

#3 2011-02-16 06:16:40

escondida
Package Maintainer (PM)
Registered: 2008-04-03
Posts: 157

Re: $PS1 config how to

[edit]: Whoops, duplicated the linked post above.

Last edited by escondida (2011-02-16 06:18:30)

Offline

#4 2011-02-16 15:21:35

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: $PS1 config how to


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

Board footer

Powered by FluxBB