diff options
author | Marc Cornellà <marc.cornella@live.com> | 2020-10-20 15:57:11 +0200 |
---|---|---|
committer | Marc Cornellà <marc.cornella@live.com> | 2020-10-20 15:57:11 +0200 |
commit | f9f45ca222a0ec6fa867ab3733f15911d1b894e6 (patch) | |
tree | e812ad20936b0517079752d3d2de120d0fa467f6 /lib | |
parent | 7525b1d533b927bc40e3cfb29e399e5f2e0828d4 (diff) | |
download | zsh-f9f45ca222a0ec6fa867ab3733f15911d1b894e6.tar.gz zsh-f9f45ca222a0ec6fa867ab3733f15911d1b894e6.tar.bz2 zsh-f9f45ca222a0ec6fa867ab3733f15911d1b894e6.zip |
lib: follow symlinked plugins in `plugin list` CLI command
See https://github.com/ohmyzsh/ohmyzsh/issues/9087#issuecomment-712460275
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cli.zsh | 4 |
1 files changed, 2 insertions, 2 deletions
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 |