1c2b8883d1de
Add a precmd function.
author | Steve Losh <steve@stevelosh.com> |
---|---|
date | Fri, 15 Jan 2010 20:34:13 -0500 |
parents | 377ad9ef7931 |
children | 87606348fe03 |
branches/tags | (none) |
files | .zshrc |
Changes
--- a/.zshrc Wed Jan 13 18:29:15 2010 -0500 +++ b/.zshrc Fri Jan 15 20:34:13 2010 -0500 @@ -49,3 +49,8 @@ # 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)" +}