mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-23 18:38:50 +08:00
4 lines
149 B
Fish
4 lines
149 B
Fish
function git_is_dirty -d "Check if there are changes to tracked files"
|
|
git_is_repo; and not command git diff --no-ext-diff --quiet --exit-code
|
|
end
|