summary refs log tree commit diff stats
path: root/zsh
diff options
context:
space:
mode:
Diffstat (limited to 'zsh')
-rwxr-xr-xzsh/zshrc23
1 files changed, 1 insertions, 22 deletions
diff --git a/zsh/zshrc b/zsh/zshrc
index e47adaf..9437fcc 100755
--- a/zsh/zshrc
+++ b/zsh/zshrc
@@ -340,30 +340,9 @@ smart_compile () {
 	fi
 }
 
-host=${HOST%%.*}
-if [[ -e ~alan/dotfiles/zsh/zshrc_$host ]]; then
-	# Don't recompile as toor|root
-	smart_compile ~alan/dotfiles/zsh/zshrc_$host 1
-fi
-if [[ -e /usr/bin/emerge ]]; then
-	smart_compile ~alan/dotfiles/zsh/zshrc_gentoo 1
-elif [[ $freebsd -eq 1 ]]; then
-	smart_compile ~alan/dotfiles/zsh/zshrc_freebsd 1
-fi
-
-for fp in $myfuncs; do
-	zrecompile -p $fp $fp/*
-done
-
 _FASD_DATA="$HOME/.zsh/fasd-data"
-fasd_cache="$HOME/.zsh/cache/fasd-init-zsh"
 autoload -U fasd
-if [[ ! -s "$fasd_cache" || ~alan/dotfiles/zsh/functions/fasd -nt "$fasd_cache" ]]; then
-	fasd --init posix-alias zsh-hook zsh-ccomp zsh-ccomp-install zsh-wcomp zsh-wcomp-install >! "$fasd_cache"
-fi
-smart_compile "$fasd_cache" 1
-unset fasd_cache
+source ~/.zsh/cache/fasd-init-zsh
 alias e="f -e $EDITOR"
 
-smart_compile ~/.zshrc
 alias s="smart_sudo "