Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Execute a command after each directory change



Hello,

I would like to execute a command (i.e. ls) whenever the CWD changes.
Of course it could be done by redefining ls, popd and pushd.  But there
is probably a more elegant solution which accounts for a general
directory change.

Joerg



Messages sorted by: Reverse Date, Date, Thread, Author