Fix ls when not using eza (#2607)

* Fix ls when not using eza

* Make use of omarchy-cmd-present
This commit is contained in:
Wiehann
2025-10-27 09:56:27 +02:00
committed by GitHub
parent 9b37d8549f
commit cc5c842f9f

View File

@@ -1,8 +1,11 @@
# File system
alias ls='eza -lh --group-directories-first --icons=auto'
alias lsa='ls -a'
alias lt='eza --tree --level=2 --long --icons --git'
alias lta='lt -a'
if omarchy-cmd-present eza; then
alias ls='eza -lh --group-directories-first --icons=auto'
alias lsa='ls -a'
alias lt='eza --tree --level=2 --long --icons --git'
alias lta='lt -a'
fi
alias ff="fzf --preview 'bat --style=numbers --color=always {}'"
if omarchy-cmd-present z; then