Browse files

Fix: make 'y' the default, as the prompt implies.

  • Loading branch information...
1 parent 967b1b0 commit 1f0e5e895c6dd350a9accd56ae58a8ace05b20c9 @nvie committed Dec 14, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 activate.sh
View
2 activate.sh
@@ -146,7 +146,7 @@ use_env() {
else
echo -n "Create virtualenv \"$venv\" now? (Yn) "
read answer
- if [[ "$answer" == "y" ]]; then
+ if [[ "$answer" == "y" ]] || [[ "$answer" == "" ]]; then
mkvirtualenv --distribute "$venv"
fi
fi

0 comments on commit 1f0e5e8

Please sign in to comment.