mirror of
https://github.com/oh-my-fish/oh-my-fish.git
synced 2024-11-26 10:13:46 +08:00
git function to determine if git is dirty
This commit is contained in:
parent
1c6a7f8de3
commit
768a420582
3
functions/git/is_git_dirty.fish
Normal file
3
functions/git/is_git_dirty.fish
Normal file
|
@ -0,0 +1,3 @@
|
||||||
|
function is_git_dirty
|
||||||
|
echo (git status -s --ignore-submodules=dirty ^/dev/null)
|
||||||
|
end
|
Loading…
Reference in New Issue
Block a user