Unverified Commit 8487a553 authored by Carlo's avatar Carlo Committed by GitHub

fix(cli): avoid using `column` (#11271)

parent 7e3231b8
...@@ -416,14 +416,14 @@ function _omz::plugin::list { ...@@ -416,14 +416,14 @@ function _omz::plugin::list {
if (( ${#custom_plugins} )); then if (( ${#custom_plugins} )); then
print -P "%U%BCustom plugins%b%u:" print -P "%U%BCustom plugins%b%u:"
print -l ${(q-)custom_plugins} | column -x print -lac ${(q-)custom_plugins}
fi fi
if (( ${#builtin_plugins} )); then if (( ${#builtin_plugins} )); then
(( ${#custom_plugins} )) && echo # add a line of separation (( ${#custom_plugins} )) && echo # add a line of separation
print -P "%U%BBuilt-in plugins%b%u:" print -P "%U%BBuilt-in plugins%b%u:"
print -l ${(q-)builtin_plugins} | column -x print -lac ${(q-)builtin_plugins}
fi fi
} }
...@@ -674,13 +674,13 @@ function _omz::theme::list { ...@@ -674,13 +674,13 @@ function _omz::theme::list {
# Print custom themes if there are any # Print custom themes if there are any
if (( ${#custom_themes} )); then if (( ${#custom_themes} )); then
print -P "%U%BCustom themes%b%u:" print -P "%U%BCustom themes%b%u:"
print -l ${(q-)custom_themes} | column -x print -lac ${(q-)custom_themes}
echo echo
fi fi
# Print built-in themes # Print built-in themes
print -P "%U%BBuilt-in themes%b%u:" print -P "%U%BBuilt-in themes%b%u:"
print -l ${(q-)builtin_themes} | column -x print -lac ${(q-)builtin_themes}
} }
function _omz::theme::set { function _omz::theme::set {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment