mirror of
https://github.com/zdharma-continuum/zinit-annex-bin-gem-node.git
synced 2026-09-10 07:26:18 -04:00
*atclone-handler: Alternate syntax
This commit is contained in:
parent
65eaae6364
commit
769af39bfc
|
|
@ -112,7 +112,7 @@ if (( ${+ZINIT_ICE[sbin]} )) {
|
|||
integer set_gem_home=0 set_node_path=0 set_cwd=0 \
|
||||
use_all_null=0 use_err_null=0 use_out_null=0
|
||||
|
||||
if [[ -z $sbin && ${#sbins} -eq 0 ]]; then
|
||||
if [[ -z $sbin && ${#sbins} -eq 0 ]] {
|
||||
if [[ -f $dir/${id_as:t} ]]; then
|
||||
sbin="$dir/${id_as:t}"
|
||||
elif [[ -n $plugin && -f $dir/$plugin ]]; then
|
||||
|
|
@ -129,9 +129,9 @@ if (( ${+ZINIT_ICE[sbin]} )) {
|
|||
break
|
||||
fi
|
||||
fi
|
||||
elif [[ -z $sbin ]]; then
|
||||
} elif [[ -z $sbin ]] {
|
||||
continue
|
||||
fi
|
||||
}
|
||||
|
||||
srcdst=( ${(@s.->.)sbin} )
|
||||
srcdst=( "${srcdst[@]//((#s)[[:space:]]##|[[:space:]]##(#e))/}" )
|
||||
|
|
|
|||
Loading…
Reference in a new issue