about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_typeset
diff options
context:
space:
mode:
Diffstat (limited to 'Completion/Zsh/Command/_typeset')
-rw-r--r--Completion/Zsh/Command/_typeset2
1 files changed, 1 insertions, 1 deletions
diff --git a/Completion/Zsh/Command/_typeset b/Completion/Zsh/Command/_typeset
index 0961e985c..160150234 100644
--- a/Completion/Zsh/Command/_typeset
+++ b/Completion/Zsh/Command/_typeset
@@ -93,7 +93,7 @@ if [[ "$state" = vars_eq ]]; then
     elif (( $+opt_args[-w] )); then
       _wanted files expl 'zwc file' _files -g '*.zwc(-.)'
     elif [[ $service = autoload || -n $opt_args[(i)-[uU]] ]]; then
-      if [[ $PREFIX[1] = / ]]; then
+      if [[ $PREFIX[1] = [/~] ]]; then
 	# Autoload by absolute path
 	_files
       else