From 753b56d1e95e0c3fbe8821c5814e05f9a19bacb3 Mon Sep 17 00:00:00 2001 From: Daylin Morgan Date: Tue, 28 Feb 2023 12:08:36 -0600 Subject: [PATCH] account for already set alias --- home/private_dot_config/zsh/conf.d/aliases.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/home/private_dot_config/zsh/conf.d/aliases.zsh b/home/private_dot_config/zsh/conf.d/aliases.zsh index b93ae81..05e5f03 100644 --- a/home/private_dot_config/zsh/conf.d/aliases.zsh +++ b/home/private_dot_config/zsh/conf.d/aliases.zsh @@ -12,7 +12,7 @@ alias vi=vim alias rr="rm -rf" # more ways to ls -alias ls="ls --group-directories-first --color=always" +alias ls="${aliases[ls]:-ls} --group-directories-first --color=auto" alias l='ls -lh' alias la='ls -a' alias ldot='ls -ld .*'