mirror of
https://github.com/m1ngsama/dotfiles.git
synced 2025-12-24 10:51:24 +00:00
7 lines
295 B
Fish
7 lines
295 B
Fish
function exa_git -d "Use exa and its git options if in a git repo"
|
|
if git rev-parse --is-inside-work-tree &>/dev/null
|
|
$__FISH_EXA_BINARY $EXA_STANDARD_OPTIONS {$EXA_LL_OPTIONS} --git $argv
|
|
else
|
|
$__FISH_EXA_BINARY $EXA_STANDARD_OPTIONS {$EXA_LL_OPTIONS} $argv
|
|
end
|
|
end
|