[Fix] nvm_ls: zsh: unset markdirs and local_options

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

1
nvm.sh
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=''