function plugin-compile { ZPLUGINDIR=${ZPLUGINDIR:-$HOME/.config/zsh/plugins} autoload -U zrecompile local f for f in $ZPLUGINDIR/**/*.zsh{,-theme}(N); do zrecompile -pq "$f" done }