mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-03-18 16:40:19 +08:00
fix(colored-man-pages): quote array expansion (#13591)
This commit is contained in:
parent
536515d186
commit
400591e71c
@ -43,7 +43,7 @@ function colored() {
|
|||||||
environment+=( PATH="${__colored_man_pages_dir}:$PATH" )
|
environment+=( PATH="${__colored_man_pages_dir}:$PATH" )
|
||||||
fi
|
fi
|
||||||
|
|
||||||
command env $environment "$@"
|
command env "${environment[@]}" "$@"
|
||||||
}
|
}
|
||||||
|
|
||||||
# Colorize man and dman/debman (from debian-goodies)
|
# Colorize man and dman/debman (from debian-goodies)
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user