Files
fish-config/functions/l.fish
T
rootiest 01c22e7a4d feat: prefer eza over lsd in all ls-related functions
fix: clean stale wraps metadata
fix: ensure user functions take precedence over CachyOS overrides
2026-04-26 03:07:51 -04:00

13 lines
422 B
Fish

# Copyright (C) 2026 Rootiest
# SPDX-License-Identifier: AGPL-3.0-or-later
function l --description 'Long listing, all files'
if which eza >/dev/null 2>&1
eza --all --long --git --header --icons --color=auto --hyperlink $argv
else if which lsd >/dev/null 2>&1
lsd --almost-all --long --git --header --hyperlink=auto $argv
else
command ls --color=auto --almost-all -l $argv
end
end