[Fix] nvm_ls: zsh: unset markdirs and local_options

Fixes #2315.
This commit is contained in:
Dylan Armstrong authored and Jordan Harband committed 2020-10-09 09:43:21 -05:00
1 parent 4436638816
commit 96069da0d5
2 files changed
+41

No files matched your search

+1
View File
@@ -1089,6 +1089,7 @@ nvm_ls() {
esac
nvm_is_zsh && setopt local_options shwordsplit
nvm_is_zsh && unsetopt local_options markdirs
local NVM_DIRS_TO_SEARCH1
NVM_DIRS_TO_SEARCH1=''