lowne_fish-prompt-metro/functions/git_is_stashed.fish

4 lines
154 B
Fish

function git_is_stashed -d "Test if there are changes in the Git stash"
command git rev-parse --verify --quiet refs/stash > /dev/null 2>/dev/null
end