diff --git a/lib/cli.zsh b/lib/cli.zsh index 82a2a3985..b1478a89f 100644 --- a/lib/cli.zsh +++ b/lib/cli.zsh @@ -132,8 +132,8 @@ EOF function _omz::plugin::list { local -a custom_plugins builtin_plugins - custom_plugins=("$ZSH_CUSTOM"/plugins/*(/N:t)) - builtin_plugins=("$ZSH"/plugins/*(/N:t)) + custom_plugins=("$ZSH_CUSTOM"/plugins/*(-/N:t)) + builtin_plugins=("$ZSH"/plugins/*(-/N:t)) # If the command is being piped, print all found line by line if [[ ! -t 1 ]]; then