about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--Completion/User/_domains2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/User/_domains b/Completion/User/_domains
index 9bd94a4fd..a27f6f34a 100644
--- a/Completion/User/_domains
+++ b/Completion/User/_domains
@@ -10,7 +10,7 @@ if ! zstyle -a ":completion${curcontext}:domains" domains domains; then
         [[ "$tmp" = (domain|search)* ]] &&
             _cache_domains=( "$_cache_domains[@]" "${=${tmp%%[ 	]#}#*[ 	]}" )
       done < /etc/resolv.conf
-      _cache_domains=( "${(@)_nslookup_domains:#[ 	]#}" )
+      _cache_domains=( "${(@)_cache_domains:#[ 	]#}" )
     fi
   fi
   domains=( "$_cache_domains[@]" )