Hide git-related information in list for mkdir tool
as that information has no effect for that tool.
This commit is contained in:
parent
880ed131a1
commit
ded640ed80
2 changed files with 22 additions and 14 deletions
|
@ -8,15 +8,19 @@ _zimfw_run_list() {
|
||||||
print
|
print
|
||||||
if (( _zprintlevel > 1 )); then
|
if (( _zprintlevel > 1 )); then
|
||||||
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
||||||
print -nR " From: ${_zurls[${zname}]}, "
|
if [[ ${_ztools[${zname}]} == mkdir ]]; then
|
||||||
if [[ -z ${_zrevs[${zname}]} ]]; then
|
print ' From: mkdir'
|
||||||
print -n 'default branch'
|
|
||||||
else
|
else
|
||||||
print -nR "${_ztypes[${zname}]} ${_zrevs[${zname}]}"
|
print -nR " From: ${_zurls[${zname}]}, "
|
||||||
|
if [[ -z ${_zrevs[${zname}]} ]]; then
|
||||||
|
print -n 'default branch'
|
||||||
|
else
|
||||||
|
print -nR "${_ztypes[${zname}]} ${_zrevs[${zname}]}"
|
||||||
|
fi
|
||||||
|
print -nR ", using ${_ztools[${zname}]}"
|
||||||
|
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
||||||
|
print
|
||||||
fi
|
fi
|
||||||
print -nR ", using ${_ztools[${zname}]}"
|
|
||||||
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
|
||||||
print
|
|
||||||
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
||||||
fi
|
fi
|
||||||
# Match the current module dir prefix from _zroot_dirs
|
# Match the current module dir prefix from _zroot_dirs
|
||||||
|
|
18
zimfw.zsh
18
zimfw.zsh
|
@ -520,15 +520,19 @@ _zimfw_run_list() {
|
||||||
print
|
print
|
||||||
if (( _zprintlevel > 1 )); then
|
if (( _zprintlevel > 1 )); then
|
||||||
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
if [[ ${_zfrozens[${zname}]} -eq 0 && -n ${_zurls[${zname}]} ]]; then
|
||||||
print -nR " From: ${_zurls[${zname}]}, "
|
if [[ ${_ztools[${zname}]} == mkdir ]]; then
|
||||||
if [[ -z ${_zrevs[${zname}]} ]]; then
|
print ' From: mkdir'
|
||||||
print -n 'default branch'
|
|
||||||
else
|
else
|
||||||
print -nR "${_ztypes[${zname}]} ${_zrevs[${zname}]}"
|
print -nR " From: ${_zurls[${zname}]}, "
|
||||||
|
if [[ -z ${_zrevs[${zname}]} ]]; then
|
||||||
|
print -n 'default branch'
|
||||||
|
else
|
||||||
|
print -nR "${_ztypes[${zname}]} ${_zrevs[${zname}]}"
|
||||||
|
fi
|
||||||
|
print -nR ", using ${_ztools[${zname}]}"
|
||||||
|
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
||||||
|
print
|
||||||
fi
|
fi
|
||||||
print -nR ", using ${_ztools[${zname}]}"
|
|
||||||
if (( ! _zsubmodules[${zname}] )) print -n ', no git submodules'
|
|
||||||
print
|
|
||||||
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
if [[ -n ${_zonpulls[${zname}]} ]] print -R " On-pull: ${_zonpulls[${zname}]}"
|
||||||
fi
|
fi
|
||||||
# Match the current module dir prefix from _zroot_dirs
|
# Match the current module dir prefix from _zroot_dirs
|
||||||
|
|
Loading…
Reference in a new issue