mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-04-03 04:20:01 +02:00
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
f3fa41834d
commit
4f5aabcb7e
1 changed files with 1 additions and 1 deletions
|
|
@ -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 "$@"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue