Compare commits
No commits in common. "2798b16c74f80cda2094cfed4516db8048d3e6ca" and "e099c4a2287cd829f43d87fbedb1c5a74791a6e2" have entirely different histories.
2798b16c74
...
e099c4a228
|
|
@ -84,8 +84,7 @@ _arguments \
|
||||||
_chromium_proxyurls () {
|
_chromium_proxyurls () {
|
||||||
#TODO: semicolon separated urls not yet implemented
|
#TODO: semicolon separated urls not yet implemented
|
||||||
# mostly copied from _urls
|
# mostly copied from _urls
|
||||||
local ipre scheme host user uhosts ret=1 expl glob suf
|
local ipre scheme host user uhosts ret=1 expl match glob suf
|
||||||
local -a match mbegin mend
|
|
||||||
local localhttp
|
local localhttp
|
||||||
zstyle -a ":completion:${curcontext}:urls" local localhttp
|
zstyle -a ":completion:${curcontext}:urls" local localhttp
|
||||||
local localhttp_servername="$localhttp[1]"
|
local localhttp_servername="$localhttp[1]"
|
||||||
|
|
|
||||||
|
|
@ -166,7 +166,6 @@ _cmake_build_presets() {
|
||||||
(( $+functions[_cmake_json_field] )) ||
|
(( $+functions[_cmake_json_field] )) ||
|
||||||
_cmake_json_field() {
|
_cmake_json_field() {
|
||||||
local json="$1" key="$2"
|
local json="$1" key="$2"
|
||||||
local -a match mbegin mend
|
|
||||||
# Non-greedy match of: "key" <ws> : <ws> " value "
|
# Non-greedy match of: "key" <ws> : <ws> " value "
|
||||||
if [[ $json =~ "\"$key\"[[:space:]]*:[[:space:]]*\"([^\"]*)\"" ]]; then
|
if [[ $json =~ "\"$key\"[[:space:]]*:[[:space:]]*\"([^\"]*)\"" ]]; then
|
||||||
print -r -- "$match[1]"
|
print -r -- "$match[1]"
|
||||||
|
|
@ -214,7 +213,6 @@ _cmake_json_inherited_field() {
|
||||||
fi
|
fi
|
||||||
|
|
||||||
local parent
|
local parent
|
||||||
local -a match mbegin mend
|
|
||||||
if [[ $block =~ '"inherits"[[:space:]]*:[[:space:]]*\[([^]]*)\]' ]]; then
|
if [[ $block =~ '"inherits"[[:space:]]*:[[:space:]]*\[([^]]*)\]' ]]; then
|
||||||
for parent in ${(s:,:)match[1]}; do
|
for parent in ${(s:,:)match[1]}; do
|
||||||
parent=${parent//[\"[:space:]]/}
|
parent=${parent//[\"[:space:]]/}
|
||||||
|
|
|
||||||
|
|
@ -346,7 +346,6 @@ __git_flow_feature_list() {
|
||||||
|
|
||||||
__git_flow_remote() {
|
__git_flow_remote() {
|
||||||
local expl gitdir remotes
|
local expl gitdir remotes
|
||||||
local -a match mbegin mend
|
|
||||||
|
|
||||||
gitdir=$(_call_program gitdir git rev-parse --git-dir 2>/dev/null)
|
gitdir=$(_call_program gitdir git rev-parse --git-dir 2>/dev/null)
|
||||||
__git_flow_command_successful || return
|
__git_flow_command_successful || return
|
||||||
|
|
|
||||||
|
|
@ -234,7 +234,7 @@ while (( $#state )); do
|
||||||
;;
|
;;
|
||||||
query)
|
query)
|
||||||
|
|
||||||
local -a accs keywords match mbegin mend
|
local -a accs keywords
|
||||||
keywords=(
|
keywords=(
|
||||||
'acct\::match account names'
|
'acct\::match account names'
|
||||||
'code\::match by transaction code'
|
'code\::match by transaction code'
|
||||||
|
|
|
||||||
|
|
@ -43,7 +43,6 @@
|
||||||
|
|
||||||
_httpie_params() {
|
_httpie_params() {
|
||||||
local ret=1 expl
|
local ret=1 expl
|
||||||
local -a match mbegin mend
|
|
||||||
|
|
||||||
# or a url
|
# or a url
|
||||||
if (( CURRENT <= NORMARG+1 )) && [[ $words[NORMARG] != *:* ]] ; then
|
if (( CURRENT <= NORMARG+1 )) && [[ $words[NORMARG] != *:* ]] ; then
|
||||||
|
|
@ -124,7 +123,6 @@ _httpie_urls() {
|
||||||
|
|
||||||
_httpie_printflags() {
|
_httpie_printflags() {
|
||||||
local ret=1
|
local ret=1
|
||||||
local -a match mbegin mend
|
|
||||||
|
|
||||||
# not sure why this is necessary, but it will complete "-pH" style without it
|
# not sure why this is necessary, but it will complete "-pH" style without it
|
||||||
[[ $IPREFIX == "-p" ]] && IPREFIX+=" "
|
[[ $IPREFIX == "-p" ]] && IPREFIX+=" "
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue