Browse Source

colored-man-pages: force `env` command (#8551)

Invoke `env` via `command` to ignore shell functions and aliases.
James Wright 5 years ago
parent
commit
530056d50d
1 changed files with 1 additions and 1 deletions
  1. 1 1
      plugins/colored-man-pages/colored-man-pages.plugin.zsh

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

@@ -17,7 +17,7 @@ EOF
 fi
 
 function colored() {
-	env \
+	command env \
 		LESS_TERMCAP_mb=$(printf "\e[1;31m") \
 		LESS_TERMCAP_md=$(printf "\e[1;31m") \
 		LESS_TERMCAP_me=$(printf "\e[0m") \