mirror of
https://github.com/zdharma-continuum/zinit.git
synced 2026-09-10 07:36:38 -04:00
*side: Reformat code
This commit is contained in:
parent
aa9b4880ed
commit
cfe7566e7f
|
|
@ -65,8 +65,9 @@
|
|||
local dname="${ZINIT[alias-map-${user:+${user}/}$plugin]}"
|
||||
local pdir="${${${${plugin:t}%.plugin.zsh}%.zsh}%.git}"
|
||||
[[ -z "$dname" ]] && {
|
||||
[[ "$user" = "%" ]] && dname="$plugin" || \
|
||||
dname="${ZINIT[PLUGINS_DIR]}/${user:+${user}---}${plugin//\//---}"
|
||||
[[ "$user" = "%" ]] && \
|
||||
dname="$plugin" || \
|
||||
dname="${ZINIT[PLUGINS_DIR]}/${user:+${user}---}${plugin//\//---}"
|
||||
}
|
||||
|
||||
reply=( "$dname" "$pdir" )
|
||||
|
|
|
|||
Loading…
Reference in a new issue