1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 23:08:00 +00:00

[Fix #209] Switch the casing of y/n

This commit is contained in:
Sorin Ionescu 2012-06-21 22:35:15 -04:00
parent a2fcb36e5f
commit 0f9a6878f8

View File

@ -10,7 +10,7 @@ local stashed
if [[ -f "$(git-dir)/refs/stash" ]]; then if [[ -f "$(git-dir)/refs/stash" ]]; then
stashed="$(git stash list 2> /dev/null | wc -l | awk '{print $1}')" stashed="$(git stash list 2> /dev/null | wc -l | awk '{print $1}')"
if (( $stashed > 0 )); then if (( $stashed > 0 )); then
if read -q "?Clear $stashed stashed state(s) [Y/n]? "; then if read -q "?Clear $stashed stashed state(s) [y/N]? "; then
git stash clear git stash clear
fi fi
fi fi