a4def112c2a58e6877167ba9a5ed4bfd96e48bb3

Author
Michael Aquilina <michaelaquilina@gmail.com>
Committer
Michael Aquilina <michaelaquilina@gmail.com>
Date

Message

Quote command to run on warning output

Diff

 1diff --git a/autoswitch_virtualenv.plugin.zsh b/autoswitch_virtualenv.plugin.zsh
 2index a6a9c94962c17b2bedc76f1408324bb016ba5ebf..638854d0515e1568779a6ecccba90e756ed9e131 100644
 3--- a/autoswitch_virtualenv.plugin.zsh
 4+++ b/autoswitch_virtualenv.plugin.zsh
 5@@ -38,7 +38,7 @@ function check_venv()
 6             echo "AUTOSWITCH WARNING:"
 7             echo "Found a .venv file with weak permission settings ($file_permissions)."
 8             echo "You should change this to 600 (read only for only your user)"
 9-            echo "Run the following command to fix this: chmod 600 .venv"
10+            echo "Run the following command to fix this: \"chmod 600 .venv\""
11           else
12             SWITCH_TO="$(cat .venv)"
13             AUTOSWITCH_PROJECT="$PWD"