diff --git a/test/parse.zsh b/test/parse.zsh index 5ced2c2..7623b68 100755 --- a/test/parse.zsh +++ b/test/parse.zsh @@ -30,6 +30,8 @@ fi zmodload zsh/zprof autoload is-at-least +setopt interactive_comments + # Own input? if [[ "$1" = "-o" || "$1" = "-oo" ]]; then typeset -a input diff --git a/test/to-parse.zsh b/test/to-parse.zsh index 5381a94..855d7a4 100644 --- a/test/to-parse.zsh +++ b/test/to-parse.zsh @@ -96,7 +96,7 @@ typeset -gA HSMW_HIGHLIGHT_STYLES # zsh 5.2 and older have a bug whereby running 'type -w ./sudo' implicitly # runs 'hash ./sudo=/usr/local/bin/./sudo' (assuming /usr/local/bin/sudo # exists and is in $PATH). Avoid triggering the bug, at the expense of - # falling through to the $() below, incurring a fork. (Issue #354.) + # falling through to the $(x) below, incurring a fork. (Issue #354.) # # The second disjunct mimics the isrelative() C call from the zsh bug. elif { [[ $1 != */* ]] || is-at-least 5.3 } &&