1diff --git a/autoswitch_virtualenv.plugin.zsh b/autoswitch_virtualenv.plugin.zsh
2index cd2659d55befa273f948c4e41d2ef74158808ff0..fab1498db6332855c1850f30294b7432489c0f40 100644
3--- a/autoswitch_virtualenv.plugin.zsh
4+++ b/autoswitch_virtualenv.plugin.zsh
5@@ -13,6 +13,7 @@ function _maybeworkon() {
6 fi
7 }
8 9+
10 # Gives the path to the nearest parent .venv file or nothing if it gets to root
11 function _check_venv_path()
12 {
13@@ -60,7 +61,7 @@ function _check_venv()
14 echo "AUTOSWITCH WARNING: Virtualenv will not be activated"
15 echo ""
16 echo "Reason: Found a .venv file with weak permission settings ($file_permissions)."
17- echo "Run the following command to fix this: \"chmod 600 .venv\""
18+ echo "Run the following command to fix this: \"chmod 600 $venv_path\""
19 else
20 SWITCH_TO="$(<"$venv_path")"
21 fi