bash prompt: use bash builtins to check stash state