diff --git a/autoswitch_virtualenv.plugin.zsh b/autoswitch_virtualenv.plugin.zsh index cec9d9f..8d57c89 100644 --- a/autoswitch_virtualenv.plugin.zsh +++ b/autoswitch_virtualenv.plugin.zsh @@ -184,10 +184,6 @@ function check_venv() printf "AUTOSWITCH WARNING: Virtualenv will not be activated\n\n" printf "Reason: Found a $AUTOSWITCH_FILE file but it is not owned by the current user\n" printf "Change ownership of ${AUTOSWITCH_PURPLE}$venv_path${AUTOSWITCH_NORMAL} to ${PURPLE}'$USER'${NORMAL} to fix this\n" - elif [[ -f "$venv_path" ]] && ! [[ "$file_permissions" =~ ^[64][04][04]$ ]]; then - printf "AUTOSWITCH WARNING: Virtualenv will not be activated\n\n" - printf "Reason: Found a $AUTOSWITCH_FILE file with weak permission settings ($file_permissions).\n" - printf "Run the following command to fix this: ${AUTOSWITCH_PURPLE}\"chmod 600 $venv_path\"${AUTOSWITCH_NORMAL}\n" else if [[ "$venv_path" == *"/Pipfile" ]]; then if type "pipenv" > /dev/null && _activate_pipenv; then