1
0
Fork 0
mirror of https://github.com/pnx/dotfiles synced 2026-06-16 03:14:55 +02:00

fish: make ll and ls functions lookup eza in $PATH instead of using absolute path.

This commit is contained in:
Henrik Hautakoski 2025-09-08 00:01:45 +02:00
parent 836da579e6
commit 3642636a47
2 changed files with 4 additions and 4 deletions

View file

@ -1,6 +1,6 @@
function ll
if test -f /usr/bin/eza
/usr/bin/eza --icons=always -l --git $argv
if command -q eza
eza --icons=always -l --git $argv
else
/bin/ls --color=auto -l $argv
end

View file

@ -1,6 +1,6 @@
function ls
if test -f /usr/bin/eza
/usr/bin/eza $argv
if command -q eza
eza $argv
else
/bin/ls --color=auto $argv
end