function cd() { # Use this for bash: # builtin cd "$*" # Use this for zsh (otherwise just "cd" doesn't work) : builtin cd $* _f=`findup .my-setup` if test -n "$_f" -a "$_lastf" != "$_f"; then echo "Loading $_f" _lastf="$_f" source "$_f" fi }