+
+# fzf {{{
+cf() {
+ local dir=$(bfs -L ${1:-.} -mindepth 1 \
+ -path "*/\.git" -prune -o \
+ -path "*/\.redo" -prune -o \
+ -type d -print 2>/dev/null |
+ fzf --height 40% --reverse --preview="tree -CN {}")
+ [[ -z $dir ]] || { print -s cd $dir ; cd $dir }
+}
+# }}}
+
+# Named directories {{{
+while read w ; do
+ w=(${(s/=/)w})
+ hash -d ${w[1]}=${~${w[2]}}
+done < ~/.zhashd
+# }}}
+
+# Midnight commander extensions configuration {{{
+[ -s $XDG_CONFIG_HOME/mc/mc.ext ] || {
+ mkdir $XDG_CONFIG_HOME/mc/
+ cp ~dot/mc/mc.ext $XDG_CONFIG_HOME/mc/
+}
+# }}}
+
+# Virtualenv {{{
+venv() {
+ . /usr/local/bin/virtualenvwrapper.sh
+}
+# }}}
+
+# autoenv {{{
+. ~/work/zsh-autoenv/autoenv.zsh
+# }}}