From 472705dd482342c4d8847550dd5af30d3594527a Mon Sep 17 00:00:00 2001 From: shane1027 Date: Wed, 30 Aug 2017 16:05:58 -0400 Subject: [PATCH] recent versions of zsh flag functions declared w/o explicit 'function' specifier as defined based on an alias, causing a parsing error and disabling the function in the shell upon launch. Explicit 'function' specifier added, and problem is fixed --- plugins/colored-man-pages/colored-man-pages.plugin.zsh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/colored-man-pages/colored-man-pages.plugin.zsh b/plugins/colored-man-pages/colored-man-pages.plugin.zsh index 54f0bdda..1bea536e 100644 --- a/plugins/colored-man-pages/colored-man-pages.plugin.zsh +++ b/plugins/colored-man-pages/colored-man-pages.plugin.zsh @@ -16,7 +16,7 @@ EOF fi fi -man() { +function man() { env \ LESS_TERMCAP_mb=$(printf "\e[1;31m") \ LESS_TERMCAP_md=$(printf "\e[1;31m") \