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.
This commit is contained in:
parent
dd299542c9
commit
a8157293a7
@ -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 "$@"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user