mirror of
https://github.com/zdharma-continuum/zinit-annex-bin-gem-node.git
synced 2026-09-10 07:26:18 -04:00
Use pr to columnize the output.
This commit is contained in:
parent
a6f79017ca
commit
645c1fa6d8
|
|
@ -63,6 +63,8 @@ END
|
|||
(( !${+functions[.zinit-any-colorify-as-uspl2]} )) && \
|
||||
builtin source $ZINIT[BIN_DIR]/zinit-side.zsh
|
||||
|
||||
{
|
||||
|
||||
if (( !${#opt_from_ices} )) {
|
||||
local nl=$'\n' brace='{' quote='"'
|
||||
local pattern='(#s)\#!/usr/bin/env zsh
|
||||
|
|
@ -139,6 +141,11 @@ function * {
|
|||
}
|
||||
}
|
||||
|
||||
} | if (( !${#opt_short} || ${#opt_one_line} )) {
|
||||
cat
|
||||
} else {
|
||||
pr -4 -T
|
||||
}
|
||||
}
|
||||
|
||||
# vim:ft=zsh:sw=4:sts=4:noet:
|
||||
|
|
|
|||
Loading…
Reference in a new issue