From f21d54a3818f59b1478c79f6953d8034692f58a0 Mon Sep 17 00:00:00 2001 From: dana Date: Wed, 6 Mar 2019 18:06:07 -0600 Subject: unposted: _zftp: Use 'post' pattern matching _zftp's use of `#compdef -p`, combined with inaccurate sub-command matching in the function, was causing it to clobber the completion for other commands, notably zf_mkdir from zsh/files. To avoid this, use -P instead --- Completion/Zsh/Command/_zftp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Completion/Zsh/Command') diff --git a/Completion/Zsh/Command/_zftp b/Completion/Zsh/Command/_zftp index 105533055..a41d72ce2 100644 --- a/Completion/Zsh/Command/_zftp +++ b/Completion/Zsh/Command/_zftp @@ -1,4 +1,4 @@ -#compdef -p zf* +#compdef -P zf* # Completion for zftp builtin and zf* functions. The functions # zfcd_match and zfget_match (also used for old-style completion) -- cgit 1.4.1