こういうの試すと設定をこねくり回したり無駄にヤク刈りに時間を費やしがちだから避けてたけど便利だったから使う事にした。
$ git clone git://github.com/zsh-users/zaw.git ~/.zaw
ZAW_ZSH=$HOME/.zaw/zaw.zsh
if [ -f $ZAW_ZSH ]; then
autoload -Uz chpwd_recent_dirs cdr add-zsh-hook
add-zsh-hook chpwd chpwd_recent_dirs
zstyle ':chpwd:*' recent-dirs-max 500 # cdrの履歴を保存する個数
zstyle ':chpwd:*' recent-dirs-default yes
zstyle ':completion:*' recent-dirs-insert both
# source ~/.zaw/zaw.zsh
source $ZAW_ZSH
zstyle ':filter-select:highlight' selected bg=white, standout
zstyle ':filter-select' case-insensitive yes
bindkey '^]' zaw-cdr # helm.el と同じキーバインド
fiディレクトリ移動だけしか使わないかもだけど良いこれ。
(anthing.el|helm.el)を使うものにとっては。