feat: prefer eza over lsd in all ls-related functions

fix: clean stale wraps metadata
fix: ensure user functions take precedence over CachyOS overrides
This commit is contained in:
2026-04-26 02:35:27 -04:00
parent 9008e7b5ae
commit 01c22e7a4d
8 changed files with 45 additions and 16 deletions
+4 -2
View File
@@ -1,8 +1,10 @@
# Copyright (C) 2026 Rootiest
# SPDX-License-Identifier: AGPL-3.0-or-later
function lt --wraps='lsd --tree --depth=2' --description 'alias lt=lsd --tree --depth=2'
if which lsdq >/dev/null 2>&1
function lt --description 'Tree listing, depth 2'
if which eza >/dev/null 2>&1
eza --tree --level=2 --icons --color=auto --hyperlink $argv
else if which lsd >/dev/null 2>&1
lsd --tree --depth=2 --hyperlink=auto $argv
else
command ls --color=auto -R $argv