From 60a4f6cb67c8872379331aab606985525f978779 Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Tue, 17 Jan 2017 18:03:26 +0000 Subject: unposted: "autooad ~..." also completes file --- Completion/Zsh/Command/_typeset | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Zsh/Command/_typeset') 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 -- cgit 1.4.1