From 106425195c86cdfba61010875486c23115f39917 Mon Sep 17 00:00:00 2001 From: Joshua Hanson Date: Wed, 10 Oct 2012 14:20:15 -0400 Subject: [PATCH] allow aliased ls for gnu coreutils --- modules/utility/init.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/utility/init.zsh b/modules/utility/init.zsh index ea31138c..534a2373 100644 --- a/modules/utility/init.zsh +++ b/modules/utility/init.zsh @@ -61,7 +61,7 @@ alias type='type -a' # ls if is-callable 'dircolors'; then # GNU Core Utilities - alias ls='ls --group-directories-first' + alias ls="${aliases[ls]:-ls} --group-directories-first" if zstyle -t ':prezto:module:utility:ls' color; then if [[ -s "$HOME/.dir_colors" ]]; then