Skip to content

Commit 400591e

Browse files
authored
fix(colored-man-pages): quote array expansion (ohmyzsh#13591)
1 parent 536515d commit 400591e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

plugins/colored-man-pages/colored-man-pages.plugin.zsh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ function colored() {
4343
environment+=( PATH="${__colored_man_pages_dir}:$PATH" )
4444
fi
4545

46-
command env $environment "$@"
46+
command env "${environment[@]}" "$@"
4747
}
4848

4949
# Colorize man and dman/debman (from debian-goodies)

0 commit comments

Comments
 (0)