Permalink
Browse files

Add a precmd function.

  • Loading branch information...
1 parent 0812348 commit 5c329611b62e404679fdab1c00c068370142dd99 @sjl committed Jan 16, 2010
Showing with 5 additions and 0 deletions.
  1. +5 −0 .zshrc
View
5 .zshrc
@@ -49,3 +49,8 @@ function wo() {
# Gorilla --------------------------------------------------------------------
export PATH="/Users/sjl/src/gorilla/bin:$PATH"
export PYTHONPATH="/Users/sjl/src/gorilla/lib:$PYTHONPATH"
+
+# Pre-Prompt Command ---------------------------------------------------------
+function precmd () {
+ z --add "$(pwd -P)"
+}

0 comments on commit 5c32961

Please sign in to comment.