diff options
author | cknoblauch <cknoblauch@gmail.com> | 2015-10-06 18:22:26 -0300 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2015-12-15 04:06:23 +0100 |
commit | a8157293a776cdf8bd7c192033ab369a2f7bb9cb (patch) | |
tree | ec12f280c1341077ff5e4ec7c2eca6e4a9d484eb /plugins/colored-man-pages/colored-man-pages.plugin.zsh | |
parent | dd299542c92d79fa9195ca0208ade35363fd6127 (diff) | |
download | zsh-a8157293a776cdf8bd7c192033ab369a2f7bb9cb.tar.gz zsh-a8157293a776cdf8bd7c192033ab369a2f7bb9cb.tar.bz2 zsh-a8157293a776cdf8bd7c192033ab369a2f7bb9cb.zip |
colored-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.
Diffstat (limited to 'plugins/colored-man-pages/colored-man-pages.plugin.zsh')
-rw-r--r-- | plugins/colored-man-pages/colored-man-pages.plugin.zsh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/colored-man-pages/colored-man-pages.plugin.zsh b/plugins/colored-man-pages/colored-man-pages.plugin.zsh index 5c613f49d..8ff240bf4 100644 --- a/plugins/colored-man-pages/colored-man-pages.plugin.zsh +++ b/plugins/colored-man-pages/colored-man-pages.plugin.zsh @@ -27,6 +27,6 @@ man() { LESS_TERMCAP_us=$(printf "\e[1;32m") \ PAGER=/usr/bin/less \ _NROFF_U=1 \ - PATH=${HOME}/bin:${PATH} \ + PATH="$HOME/bin:$PATH" \ man "$@" } |