Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
bc7ce982
Unverified
Commit
bc7ce982
authored
Aug 17, 2021
by
Marc Cornellà
Browse files
style(cli): fill rows in column output in theme and plugin `list` commands
parent
bf888680
Changes
1
Show whitespace changes
Inline
Side-by-side
lib/cli.zsh
View file @
bc7ce982
...
...
@@ -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
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment