Thread
:
Color Prompt in OpenBSD.
View Single Post
#
2
(View Single Post)
3rd December 2009
J65nko
Administrator
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,132
Instead of using
$PWD
you can use
\w
Code:
PS1="\u@\h[\w]" export PS1
This produces the following as prompt:
Code:
j65nko@hercules[~/Snapshots]
BTW Thanks for your post, I will be moving this to the guides section
__________________
You don't need to be a genius to debug a
pf.conf
firewall ruleset, you just need the guts to run
tcpdump
J65nko
View Public Profile
Find all posts by J65nko