From 65129961330879007d94bc36fe43e785a6a92110 Mon Sep 17 00:00:00 2001 From: Sorin Ionescu Date: Tue, 10 Apr 2012 23:18:26 -0400 Subject: [PATCH] [#125] Use is-callable to check for GNU utilities --- modules/alias/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/alias/init.zsh b/modules/alias/init.zsh index 92f2480..eb0e609 100644 --- a/modules/alias/init.zsh +++ b/modules/alias/init.zsh @@ -11,7 +11,7 @@ omodload 'spectrum' setopt CORRECT # Correct commands. # The 'ls' Family -if (( $+commands[dircolors] )); then +if is-callable 'dircolors'; then # GNU core utilities. alias ls='ls --group-directories-first'