From 9d9f362c7a41d5d07291d30b294a9d332dcc4173 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Mon, 27 Oct 2025 17:32:15 +0100 Subject: [PATCH] Just use the basics in case there is a problem with path --- default/bash/aliases | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/default/bash/aliases b/default/bash/aliases index 86abd4a0..eabd0c62 100644 --- a/default/bash/aliases +++ b/default/bash/aliases @@ -1,5 +1,5 @@ # File system -if omarchy-cmd-present eza; then +if command -v eza &> /dev/null; then alias ls='eza -lh --group-directories-first --icons=auto' alias lsa='ls -a' alias lt='eza --tree --level=2 --long --icons --git' @@ -8,7 +8,7 @@ fi alias ff="fzf --preview 'bat --style=numbers --color=always {}'" -if omarchy-cmd-present z; then +if command -v zoxide &> /dev/null; then alias cd="zd" zd() { if [ $# -eq 0 ]; then