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:
+5
-2
@@ -1,8 +1,11 @@
|
||||
# Copyright (C) 2026 Rootiest
|
||||
# SPDX-License-Identifier: AGPL-3.0-or-later
|
||||
|
||||
function ls --wraps=lsd --wraps='lsd --hyperlink=auto' --description 'alias ls=lsd'
|
||||
if which lsd >/dev/null 2>&1
|
||||
function ls --description 'List files'
|
||||
if which eza >/dev/null 2>&1
|
||||
eza --oneline --icons --color=auto --hyperlink $argv
|
||||
|
||||
else if which lsd >/dev/null 2>&1
|
||||
lsd --hyperlink=auto $argv
|
||||
else
|
||||
command ls --color=auto $argv
|
||||
|
||||
Reference in New Issue
Block a user