=== modified file 'bin/confz' --- bin/confz 2018-02-14 20:13:10 +0000 +++ bin/confz 2018-02-01 11:42:02 +0000 @@ -4,7 +4,6 @@ autoload -Uz colors; colors setopt extended_glob warn_create_global no_unset -zmodload zsh/zutil typeset -gA vars vars_prev typeset -ga do_command actions_performed @@ -19,22 +18,6 @@ exit 1 } -confz_print_usage() { - echo >&2 "usage: $0:h [-f ] [] [; ...]" - exit 2 -} - -# option parsing -typeset -ga confz_opt_f -zparseopts -D - f+:=confz_opt_f || die "Unable to parse options" -() { - local opt val - for opt val in "$confz_opt_f[@]"; do - [[ $opt == "-"* ]] || die "Something went wrong" - fpath=( $val "$fpath[@]" ) - done -} - # trace-printing helpers confz_check_start() { print -r - "${confz_indent}checking $fg_bold[default]$1$reset_color ${(@q)argv[2,-1]} ${reset_color}[" >&2