summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-08-17 12:53:09 +0200
committerMarc Cornellà <hello@mcornella.com>2021-08-17 12:53:09 +0200
commitbc7ce982ddcabdb7a6d446207ef4a0b78920da8b (patch)
tree09f7c9811224323de1bb76761b5fadab1e010199 /lib
parentbf888680ea5b7161cf1d06011df33bfbeda8b255 (diff)
downloadzsh-bc7ce982ddcabdb7a6d446207ef4a0b78920da8b.tar.gz
zsh-bc7ce982ddcabdb7a6d446207ef4a0b78920da8b.tar.bz2
zsh-bc7ce982ddcabdb7a6d446207ef4a0b78920da8b.zip
style(cli): fill rows in column output in theme and plugin `list` commands
Diffstat (limited to 'lib')
-rw-r--r--lib/cli.zsh8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/cli.zsh b/lib/cli.zsh
index a10b0e147..6bdac6cf1 100644
--- a/lib/cli.zsh
+++ b/lib/cli.zsh
@@ -405,14 +405,14 @@ function _omz::plugin::list {
if (( ${#custom_plugins} )); then
print -P "%U%BCustom plugins%b%u:"
- print -l ${(q-)custom_plugins} | column
+ print -l ${(q-)custom_plugins} | column -x
fi
if (( ${#builtin_plugins} )); then
(( ${#custom_plugins} )) && echo # add a line of separation
print -P "%U%BBuilt-in plugins%b%u:"
- print -l ${(q-)builtin_plugins} | column
+ print -l ${(q-)builtin_plugins} | column -x
fi
}
@@ -631,14 +631,14 @@ function _omz::theme::list {
if (( ${#custom_themes} )); then
print -P "%U%BCustom themes%b%u:"
- print -l ${(q-)custom_themes} | column
+ print -l ${(q-)custom_themes} | column -x
fi
if (( ${#builtin_themes} )); then
(( ${#custom_themes} )) && echo # add a line of separation
print -P "%U%BBuilt-in themes%b%u:"
- print -l ${(q-)builtin_themes} | column
+ print -l ${(q-)builtin_themes} | column -x
fi
}