# Zsh configuration file.
-source_debug "sourcing ~/.zsh/rc"
+source_debug ". ~/.zsh/rc"
# MISCELLANEOUS SETTINGS
# Except for mv and cp, because I often want to use to similar names, so I
# complete to the same and change it.
zstyle ':completion:*:(mv|cp):*' ignore-line no
+# Don't complete ./config.* files, this makes running ./configure much
+# simpler. Thanks to Nomexous in #zsh on Freenode (2010-03-16 01:54)
+zstyle ':completion:*:*:-command-:*' ignored-patterns './config.*'
# Provide a fallback completer which always completes files. Useful when Zsh's
# completion is too "smart". Thanks to Frank Terbeck <ft@bewatermyfriend.org>
# LOAD ADDITIONAL CONFIGURATION FILES
-# Load rc file for current hostname (first part before a dot) or rc.local.
-source_config ~/.zsh host rc ${$(hostname)//.*/}
+source_config ~/.zsh.rc.local
# RUN COMMANDS
fi
-source_debug "finished sourcing ~/.zsh/rc"
+source_debug ". ~/.zsh/rc (done)"
# vim: ft=zsh