bens-dotfiles/fish/.config/fish/functions/is_git_dirty.fish

4 lines
65 B
Fish

function is_git_dirty
is_git; and git diff --cached --quiet
end