about summary refs log tree commit diff
path: root/Completion/Zsh/Command/_typeset
diff options
context:
space:
mode:
authorPeter Stephenson <pws@zsh.org>2017-01-17 18:03:26 +0000
committerPeter Stephenson <pws@zsh.org>2017-01-17 18:03:26 +0000
commit60a4f6cb67c8872379331aab606985525f978779 (patch)
tree1d816df0ce8df1dc6167fe755b82a1f1c5a0c300 /Completion/Zsh/Command/_typeset
parentc2f1951ba3e18f8da62cfcb2deb085f2ee1f8d5b (diff)
downloadzsh-60a4f6cb67c8872379331aab606985525f978779.tar.gz
zsh-60a4f6cb67c8872379331aab606985525f978779.tar.xz
zsh-60a4f6cb67c8872379331aab606985525f978779.zip
unposted: "autooad ~..." also completes file
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