summaryrefslogtreecommitdiff
path: root/etc/prompt
diff options
context:
space:
mode:
Diffstat (limited to 'etc/prompt')
-rw-r--r--etc/prompt5
1 files changed, 4 insertions, 1 deletions
diff --git a/etc/prompt b/etc/prompt
index 2a1f38f..c948f5d 100644
--- a/etc/prompt
+++ b/etc/prompt
@@ -3,10 +3,13 @@
# RPS1 is on the right side of the terminal
# The \ek\e\\ is for screen's 'shelltitle'
+# psvar[1] = directory info
+# psvar[2] = rtab (current directory)
+
user="${ps_yellow}%n"
at="@"
host="%m"
-dir="${ps_reset}%25>…>\$(rtab -f)%>>"
+dir="${ps_reset}%25>…>%2v%>>"
sign="%(!.${ps_red}#.${ps_green}>)${ps_reset}"
screen=$'%{\ek\e\\%}'