From: Simon Ruderich Date: Sun, 16 Mar 2014 17:41:46 +0000 (+0100) Subject: zsh/rc: replace useless && after autoload with ; X-Git-Url: https://ruderich.org/simon/gitweb/?a=commitdiff_plain;h=affb82dea5fa3f866774437e21cf2ff443923615;p=config%2Fdotfiles.git zsh/rc: replace useless && after autoload with ; autoload always returns true. --- diff --git a/zsh/rc b/zsh/rc index afc78b0..ae2a92d 100644 --- a/zsh/rc +++ b/zsh/rc @@ -205,7 +205,7 @@ setopt pushdminus # PROMPT SETTINGS # Use colorized output, necessary for prompts and completions. -autoload -Uz colors && colors +autoload -Uz colors; colors # Necessary for $EPOCHSECONDS, the UNIX time. zmodload zsh/datetime @@ -629,7 +629,7 @@ zmodload zsh/complist # cluttering of ~/. $fpath must be set before calling this. Thanks to Adlai in # #zsh on Freenode (2009-08-07 21:05 CEST) for reminding me of the $fpath # problem. -autoload -Uz compinit && compinit -d ~/.zsh/cache/zcompdump +autoload -Uz compinit; compinit -d ~/.zsh/cache/zcompdump # Use cache to speed up some slow completions (dpkg, perl modules, etc.). zstyle ':completion:*' use-cache yes