Merge commit 'eadfdba7073e625562ae02841608ea37a46e0120'

pull/860/head
Roman Perepelitsa 4 years ago
commit 1be10ebcf7

@ -516,7 +516,7 @@ function gitstatus_start"${1:-}"() {
args+=(-$opt $OPTARG) args+=(-$opt $OPTARG)
[[ $opt == m ]] && dirty_max_index_size=OPTARG [[ $opt == m ]] && dirty_max_index_size=OPTARG
;; ;;
e|U|W|D) args+=$opt;; e|U|W|D) args+=-$opt;;
+(e|U|W|D)) args=(${(@)args:#-$opt});; +(e|U|W|D)) args=(${(@)args:#-$opt});;
\?) print -ru2 -- "gitstatus_start: invalid option: $OPTARG" ; return 1;; \?) print -ru2 -- "gitstatus_start: invalid option: $OPTARG" ; return 1;;
:) print -ru2 -- "gitstatus_start: missing required argument: $OPTARG"; return 1;; :) print -ru2 -- "gitstatus_start: missing required argument: $OPTARG"; return 1;;

Loading…
Cancel
Save