summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--etc/functions/chpwd4
1 files changed, 3 insertions, 1 deletions
diff --git a/etc/functions/chpwd b/etc/functions/chpwd
index bf8b4d9..11510b4 100644
--- a/etc/functions/chpwd
+++ b/etc/functions/chpwd
@@ -1,4 +1,6 @@
## vim:ft=zsh
-psvar[1]=$(dirinfo)
+## This all belongs into the prompt, but since it only changes
+## when changing directories, it's more efficient to do it here
+psvar[1]=$(dirinfo)
psvar[2]=$(rtab -f)