zshのヒストリサーチ
zshでヒストリサーチをしようとして
history-search-end: function definition file not found
というエラーがでることがある。これはFPATHにzshのfunctionへのパスが通っていないから。
findとか使ってなんとかしてhistory-search-endの場所を探し、そこにFPATHを通す。多分/usr/share/zsh/とかの下にある。某所では/usr/share/zsh/4.3.10/functionsにあったので、
export FPATH=/usr/share/zsh/4.3.10/functions:$FPATH
でOK。