mirror of
https://github.com/ivuorinen/dotfiles.git
synced 2026-02-24 05:56:38 +00:00
feat(config): switch from fish-exa to fish-eza
This commit is contained in:
7
config/fish/functions/eza_git.fish
Normal file
7
config/fish/functions/eza_git.fish
Normal file
@@ -0,0 +1,7 @@
|
||||
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
|
||||
Reference in New Issue
Block a user