mirror of
https://github.com/zsh-users/zsh-completions.git
synced 2026-09-17 16:00:19 +00:00
Merge pull request #1040 from zsh-users/fix-invalid-initialization
Fix wrong initial value settings
This commit is contained in:
+12
-11
@@ -662,7 +662,7 @@ _flutter_build() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return $ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_flutter_build_entities] )) ||
|
(( $+functions[_flutter_build_entities] )) ||
|
||||||
@@ -684,7 +684,8 @@ _flutter_build_entities() {
|
|||||||
|
|
||||||
(( $+functions[_flutter_custom_devices] )) ||
|
(( $+functions[_flutter_custom_devices] )) ||
|
||||||
_flutter_custom_devices() {
|
_flutter_custom_devices() {
|
||||||
local ret=0
|
local ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(- *)'{-h,--help}'[Print this usage information]' \
|
'(- *)'{-h,--help}'[Print this usage information]' \
|
||||||
'1: :_flutter_custom_devices_subcommands' \
|
'1: :_flutter_custom_devices_subcommands' \
|
||||||
@@ -710,7 +711,7 @@ _flutter_custom_devices() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return $ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_flutter_custom_devices_subcommands] )) ||
|
(( $+functions[_flutter_custom_devices_subcommands] )) ||
|
||||||
@@ -763,7 +764,7 @@ _flutter_android_languages() {
|
|||||||
|
|
||||||
(( $+functions[_flutter_pub] )) ||
|
(( $+functions[_flutter_pub] )) ||
|
||||||
_flutter_pub() {
|
_flutter_pub() {
|
||||||
local ret=0
|
local ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(- *)'{-h,--help}'[Print this usage information]' \
|
'(- *)'{-h,--help}'[Print this usage information]' \
|
||||||
@@ -878,7 +879,7 @@ _flutter_pub() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return $ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_flutter_pub_subcommands] )) ||
|
(( $+functions[_flutter_pub_subcommands] )) ||
|
||||||
@@ -908,7 +909,7 @@ _flutter_pub_subcommands() {
|
|||||||
|
|
||||||
(( $+functions[_flutter_pub_cache] )) ||
|
(( $+functions[_flutter_pub_cache] )) ||
|
||||||
_flutter_pub_cache() {
|
_flutter_pub_cache() {
|
||||||
local ret=0
|
local ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(- *)'{-h,--help}'[Print this usage information]' \
|
'(- *)'{-h,--help}'[Print this usage information]' \
|
||||||
@@ -941,7 +942,7 @@ _flutter_pub_cache() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return $ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_flutter_pub_cache_subcommand] )) ||
|
(( $+functions[_flutter_pub_cache_subcommand] )) ||
|
||||||
@@ -956,7 +957,7 @@ _flutter_pub_cache_subcommand() {
|
|||||||
|
|
||||||
(( $+functions[_flutter_pub_global] )) ||
|
(( $+functions[_flutter_pub_global] )) ||
|
||||||
_flutter_pub_global() {
|
_flutter_pub_global() {
|
||||||
local ret=0
|
local ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(- *)'{-h,--help}'[Print this usage information]' \
|
'(- *)'{-h,--help}'[Print this usage information]' \
|
||||||
@@ -994,7 +995,7 @@ _flutter_pub_global() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return $ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_flutter_pub_global_subcommand] )) ||
|
(( $+functions[_flutter_pub_global_subcommand] )) ||
|
||||||
@@ -1010,7 +1011,7 @@ _flutter_pub_global_subcommand() {
|
|||||||
|
|
||||||
(( $+functions[_flutter_pub_token] )) ||
|
(( $+functions[_flutter_pub_token] )) ||
|
||||||
_flutter_pub_token() {
|
_flutter_pub_token() {
|
||||||
local ret=0
|
local ret=1
|
||||||
|
|
||||||
_arguments -C \
|
_arguments -C \
|
||||||
'(- *)'{-h,--help}'[Print this usage information]' \
|
'(- *)'{-h,--help}'[Print this usage information]' \
|
||||||
@@ -1041,7 +1042,7 @@ _flutter_pub_token() {
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
return $ret
|
return ret
|
||||||
}
|
}
|
||||||
|
|
||||||
(( $+functions[_flutter_pub_token_subcommand] )) ||
|
(( $+functions[_flutter_pub_token_subcommand] )) ||
|
||||||
|
|||||||
Reference in New Issue
Block a user