From fdb3f4152f9bf73428a89dbcf42b954b8090df85 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Sun, 3 Jun 2012 14:20:37 -0400 Subject: [PATCH] [#149] Remove unnecessary if statements --- modules/utility/init.zsh | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index abd15863..ae5b9141 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -108,11 +108,11 @@ else fi # Miscellaneous -if (( $+commands[ack] )) alias afind='nocorrect ack' -if (( $+commands[ebuild] )) alias ebuild='nocorrect ebuild' -if (( $+commands[gist] )) alias gist='nocorrect gist' -if (( $+commands[heroku] )) alias heroku='nocorrect heroku' -if (( $+commands[mysql] )) alias mysql='nocorrect mysql' +alias afind='nocorrect ack' +alias ebuild='nocorrect ebuild' +alias gist='nocorrect gist' +alias heroku='nocorrect heroku' +alias mysql='nocorrect mysql' # Serves a directory via HTTP. alias http-serve='python -m SimpleHTTPServer'