mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-26 10:13:46 +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
|