smart directory search in zsh, IPython or Vim