631e89afd551ea0201fdcbb39f6391a9dd462936
- Author
- Michael Aquilina <michaelaquilina@gmail.com>
- Committer
- Michael Aquilina <michaelaquilina@gmail.com>
- Date
Message
Update help message to link to README setup
Diff
1diff --git a/autoswitch_virtualenv.plugin.zsh b/autoswitch_virtualenv.plugin.zsh
2index faafa873ceccc70b1e1754b904f59857f0347a32..c615cbb9fd9562687e8d026590d4d04b01bad222 100644
3--- a/autoswitch_virtualenv.plugin.zsh
4+++ b/autoswitch_virtualenv.plugin.zsh
5@@ -6,6 +6,8 @@ if ! type workon > /dev/null; then
6 printf "following to your ~/.zshrc:\n"
7 printf "\e[39m"
8 printf "source =virtualenvwrapper.sh\n"
9+ printf "\n"
10+ printf "See https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv#Setup for more details\n"
11 printf "\e[0m"
12 fi
13
14diff --git a/tests/test_help.zunit b/tests/test_help.zunit
15index b50c2435f18a8cc2c12a33ad4628fe6361abdfbd..a60604df99bb66c7fc2c52ac5fe97f75df8956f5 100644
16--- a/tests/test_help.zunit
17+++ b/tests/test_help.zunit
18@@ -8,4 +8,7 @@
19 assert "$lines[2]" is_empty
20 assert "$lines[3]" contains "If this is already installed but you are still seeing this message, add the following to your ~/.zshrc"
21 assert "$lines[4]" contains "source =virtualenvwrapper.sh"
22+ assert "$lines[5]" is_empty
23+ assert "$lines[6]" contains "See https://github.com/MichaelAquilina/zsh-autoswitch-virtualenv#Setup for more details"
24+ assert ${#lines} equals 7
25 }