mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-26 11:14:08 +00:00
8 lines
265 B
Fish
8 lines
265 B
Fish
function eza_git -d "Use exa and its git options if in a git repo"
|
|
if git rev-parse --is-inside-work-tree &>/dev/null
|
|
eza $EZA_STANDARD_OPTIONS {$EZA_LL_OPTIONS} --git $argv
|
|
else
|
|
eza $EZA_STANDARD_OPTIONS {$EZA_LL_OPTIONS} $argv
|
|
end
|
|
end
|