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'