From 074d7abd35f0e1a0c91bfb15092e51efa48905b0 Mon Sep 17 00:00:00 2001 From: Jan Jastrow Date: Sat, 10 Aug 2024 22:22:03 +0200 Subject: [PATCH] Fix eza/lsd detection --- zsh/env | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/zsh/env b/zsh/env index 331a0db..08fd718 100644 --- a/zsh/env +++ b/zsh/env @@ -13,10 +13,10 @@ export EDITOR="nano" # set `ll` command - b(etter)ls per default alias ll=bls -if test -f "$homebrew_path/eza"; then +if test -x "$(which eza)"; then alias ll=eza fi -if test -f "$homebrew_path/lsd"; then +if test -x "$(which lsd)"; then alias ll=lsd fi