a8157293a776cdf8bd7c192033ab369a2f7bb9cb Authorcknoblauch <cknoblauch@gmail.com>CommitterMarc Cornellà <marc.cornella@live.com>Date2015-12-15 03:06 UTC Messagecolored-man plugin: Quoted PATH variable Some environments (in my case, cygwin) have PATH variables with directories with spaces in them, breaking colored-man. Adding quotes around the PATH environment variable makes the plugin run OK. Diff 1diff --git a/plugins/colored-man-pages/colored-man-pages.plugin.zsh b/plugins/colored-man-pages/colored-man-pages.plugin.zsh 2index 5c613f49d1fee1832d81ca7d3f0c42abc9d0a1f3..8ff240bf4c008551816c938c790ae4adb5f9898e 100644 3--- a/plugins/colored-man-pages/colored-man-pages.plugin.zsh 4+++ b/plugins/colored-man-pages/colored-man-pages.plugin.zsh 5@@ -27,6 +27,6 @@ man() { 6 LESS_TERMCAP_us=$(printf "\e[1;32m") \ 7 PAGER=/usr/bin/less \ 8 _NROFF_U=1 \ 9- PATH=${HOME}/bin:${PATH} \ 10+ PATH="$HOME/bin:$PATH" \ 11 man "$@" 12 }