*side: Reformat code

This commit is contained in:
Sebastian Gniazdowski 2020-02-26 00:09:33 +01:00
parent aa9b4880ed
commit cfe7566e7f

View file

@ -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" )