Diff
1diff --git a/plugins/zsh-navigation-tools/README.md b/plugins/zsh-navigation-tools/README.md
2index 630b2e840e6ee1445fbab305beb47bc0a6462cfb..4420dab829b2754b3a5270746327a28f83916502 100644
3--- a/plugins/zsh-navigation-tools/README.md
4+++ b/plugins/zsh-navigation-tools/README.md
5@@ -105,7 +105,7 @@ colorize output of the tools, via their config files (check out e.g. n-cd.conf,
6 it uses this).
7
8 ## Performance
9-ZNT are fastest with Zsh before 5.0.8 and starting from 5.2
10+ZNT are fastest with Zsh before 5.0.6 and starting from 5.2
11
12
13 vim:filetype=conf
14diff --git a/plugins/zsh-navigation-tools/n-list b/plugins/zsh-navigation-tools/n-list
15index d13e048bf2c591b7081357559885279ed0600993..388712bd0ee6c32b44aced358c3c20047e3bfa60 100644
16--- a/plugins/zsh-navigation-tools/n-list
17+++ b/plugins/zsh-navigation-tools/n-list
18@@ -243,7 +243,9 @@ while (( 1 )); do
19
20 # Take all elements, including duplicates and non-selectables
21 typeset +U list
22- list=( "$@" )
23+ repeat 1; do
24+ list=( "$@" )
25+ done
26
27 # Remove non-selectable elements
28 [ "$#NLIST_NONSELECTABLE_ELEMENTS" -gt 0 ] && for i in "${(nO)NLIST_NONSELECTABLE_ELEMENTS[@]}"; do
29@@ -309,7 +311,9 @@ while (( 1 )); do
30
31 # Take all elements, including duplicates and non-selectables
32 typeset +U list
33- list=( "$@" )
34+ repeat 1; do
35+ list=( "$@" )
36+ done
37
38 # Remove non-selectable elements only when in uniq mode
39 [ "$NLIST_IS_UNIQ_MODE" -eq 1 ] && [ "$#NLIST_NONSELECTABLE_ELEMENTS" -gt 0 ] &&