X-Git-Url: https://ruderich.org/simon/gitweb/?a=blobdiff_plain;f=zsh%2Frc;h=e0bf4c76a737f9aeb105b796c5eb4e1635c87ef5;hb=e5038dcd0bf5d948fd37c1b86efc72d9b5126318;hp=df4d35762d70332605566e5ced7a2ee51d302d83;hpb=7b08995d96c407e93b1d8e4a3c11fd74c85a75cc;p=config%2Fdotfiles.git diff --git a/zsh/rc b/zsh/rc index df4d357..e0bf4c7 100644 --- a/zsh/rc +++ b/zsh/rc @@ -1,7 +1,7 @@ # Zsh configuration file. -source_debug "sourcing ~/.zsh/rc" +source_debug ". ~/.zsh/rc" # MISCELLANEOUS SETTINGS @@ -488,6 +488,9 @@ zstyle ':completion:*' ignore-line yes # 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 @@ -610,8 +613,7 @@ fi # 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 @@ -635,6 +637,6 @@ if [[ $TERM != dumb && -z $STY ]]; then fi -source_debug "finished sourcing ~/.zsh/rc" +source_debug ". ~/.zsh/rc (done)" # vim: ft=zsh