From 5e3318cb55058880f21495ce7bce65434d23abd4 Mon Sep 17 00:00:00 2001 From: Daniel Friesel Date: Thu, 25 Sep 2008 19:09:11 +0200 Subject: chpwd: Added comments --- etc/functions/chpwd | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) 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) -- cgit v1.2.3