summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorCarlo <carlosalag@protonmail.com>2022-10-18 19:38:47 +0200
committerGitHub <noreply@github.com>2022-10-18 19:38:47 +0200
commit8487a5536d247927216dd22041c1c32bcd100256 (patch)
treeeec85b7224dbcbb394d2abc069ed62d9ea9bdff6 /lib
parent7e3231b846dec87fcf6537f6e45c9c1be9f718fe (diff)
downloadzsh-8487a5536d247927216dd22041c1c32bcd100256.tar.gz
zsh-8487a5536d247927216dd22041c1c32bcd100256.tar.bz2
zsh-8487a5536d247927216dd22041c1c32bcd100256.zip
fix(cli): avoid using `column` (#11271)
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 f15bd6d63..fed00d21d 100644
--- a/lib/cli.zsh
+++ b/lib/cli.zsh
@@ -416,14 +416,14 @@ function _omz::plugin::list {
if (( ${#custom_plugins} )); then
print -P "%U%BCustom plugins%b%u:"
- print -l ${(q-)custom_plugins} | column -x
+ print -lac ${(q-)custom_plugins}
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 -x
+ print -lac ${(q-)builtin_plugins}
fi
}
@@ -674,13 +674,13 @@ function _omz::theme::list {
# Print custom themes if there are any
if (( ${#custom_themes} )); then
print -P "%U%BCustom themes%b%u:"
- print -l ${(q-)custom_themes} | column -x
+ print -lac ${(q-)custom_themes}
echo
fi
# Print built-in themes
print -P "%U%BBuilt-in themes%b%u:"
- print -l ${(q-)builtin_themes} | column -x
+ print -lac ${(q-)builtin_themes}
}
function _omz::theme::set {