mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-01-31 16:42:41 +00:00
8 lines
295 B
Fish
8 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
|