Commit a8157293 authored by cknoblauch's avatar cknoblauch Committed by Marc Cornellà
Browse files

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.
parent dd299542
...@@ -27,6 +27,6 @@ man() { ...@@ -27,6 +27,6 @@ man() {
LESS_TERMCAP_us=$(printf "\e[1;32m") \ LESS_TERMCAP_us=$(printf "\e[1;32m") \
PAGER=/usr/bin/less \ PAGER=/usr/bin/less \
_NROFF_U=1 \ _NROFF_U=1 \
PATH=${HOME}/bin:${PATH} \ PATH="$HOME/bin:$PATH" \
man "$@" man "$@"
} }
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment