1
0
Fork 0
mirror of https://github.com/romkatv/powerlevel10k.git synced 2024-11-22 04:10:07 +00:00

Merge commit 'eadfdba7073e625562ae02841608ea37a46e0120'

This commit is contained in:
Roman Perepelitsa 2020-06-22 19:18:34 +02:00
commit 1be10ebcf7

View file

@ -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;;