Commit f9f45ca2 authored by Marc Cornellà's avatar Marc Cornellà
Browse files

lib: follow symlinked plugins in `plugin list` CLI command

See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
parent 7525b1d5
......@@ -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
......
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