mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-19 20:29:45 +01:00
style(cli): fill rows in column output in theme and plugin list
commands
This commit is contained in:
parent
bf888680ea
commit
bc7ce982dd
1 changed files with 4 additions and 4 deletions
|
@ -405,14 +405,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
|
print -l ${(q-)custom_plugins} | column -x
|
||||||
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
|
print -l ${(q-)builtin_plugins} | column -x
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -631,14 +631,14 @@ function _omz::theme::list {
|
||||||
|
|
||||||
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
|
print -l ${(q-)custom_themes} | column -x
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if (( ${#builtin_themes} )); then
|
if (( ${#builtin_themes} )); then
|
||||||
(( ${#custom_themes} )) && echo # add a line of separation
|
(( ${#custom_themes} )) && echo # add a line of separation
|
||||||
|
|
||||||
print -P "%U%BBuilt-in themes%b%u:"
|
print -P "%U%BBuilt-in themes%b%u:"
|
||||||
print -l ${(q-)builtin_themes} | column
|
print -l ${(q-)builtin_themes} | column -x
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue