View Single Post
  #2   (View Single Post)  
Old 3rd December 2009
J65nko J65nko is offline
Administrator
 
Join Date: May 2008
Location: Budel - the Netherlands
Posts: 4,125
Default

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
Reply With Quote