We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1cb54d9 commit d7f357cCopy full SHA for d7f357c
virtualenvwrapper_bashrc
@@ -65,7 +65,7 @@ function mkvirtualenv () {
65
function rmvirtualenv () {
66
typeset env_name="$1"
67
verify_workon_home
68
- if ["$env_name" == "" ]
+ if [ "$env_name" == "" ]
69
then
70
echo "Please specify an enviroment."
71
return 1
@@ -74,6 +74,7 @@ function rmvirtualenv () {
74
if [ "$VIRTUAL_ENV" == "$env_dir" ]
75
76
echo "ERROR: You cannot remove the active environment ('$env_name')."
77
+ echo "Either switch to another environment, or run 'deactivate'."
78
79
fi
80
rm -rf "$env_dir"
0 commit comments