>>107153453 (OP)
I made a simple script that does auto ls in fish with eza when I cd into something
here it is if you need it
function __autols_hook --description "Auto ls" --on-event fish_prompt
if test "$NO_AUTO_LS" != ""
return
end
if test "$__autols_last" != (pwd)
clear; echo (pwd) (set_color $color_cwd) $normal (fish_vcs_prompt) $normal " "; eza --group-directories-first -G -B -F -x -a --sort type --sort filename --links --hyperlink --no-quotes
else if test "$__autols_last2" != '0'
clear; echo (pwd) (set_color $color_cwd) $normal (fish_vcs_prompt) $normal " "; eza --group-directories-first -G -B -F -x -a --sort type --sort filename --links --hyperlink --no-quotes
end
set -g __autols_last (pwd)
set -g __autols_last2 1
end
function __autols_hook2 --on-event fish_preexec
set -g __autols_last2 0
end