help / Atom feed
* [PATCH] Completion: Make _mv and _rmdir handle zsh/files variants
@ 2019-04-24 17:52 dana
  0 siblings, 0 replies; 1+ messages in thread
From: dana @ 2019-04-24 17:52 UTC (permalink / raw)
  To: Zsh hackers list

I have a few follow-up patches to workers/44242. Not sure what's the best way
to break them up, hopefully this is OK.

Patch # 1: Make _mv and _rmdir handle their respective zf_* built-ins. (_rmdir
doesn't really matter because zf_rmdir takes no options, but it seems


diff --git a/Completion/Unix/Command/_mv b/Completion/Unix/Command/_mv
index 2f0f844d4..2b8ac3273 100644
--- a/Completion/Unix/Command/_mv
+++ b/Completion/Unix/Command/_mv
@@ -1,4 +1,4 @@
-#compdef mv gmv
+#compdef mv gmv zf_mv
 local args variant
diff --git a/Completion/Unix/Command/_rmdir b/Completion/Unix/Command/_rmdir
index 2ae0fd9b2..004511558 100644
--- a/Completion/Unix/Command/_rmdir
+++ b/Completion/Unix/Command/_rmdir
@@ -1,4 +1,4 @@
-#compdef rmdir grmdir
+#compdef rmdir grmdir zf_rmdir
 local variant
 local -a args
diff --git a/Completion/Unix/Type/_directories b/Completion/Unix/Type/_directories
index 438181eec..dc92e6c34 100644
--- a/Completion/Unix/Type/_directories
+++ b/Completion/Unix/Type/_directories
@@ -1,4 +1,4 @@
-#compdef zf_rmdir dircmp -P -value-,*path,-default-
+#compdef dircmp -P -value-,*path,-default-
 local expl

^ permalink raw reply	[flat|nested] 1+ messages in thread

only message in thread, back to index

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-04-24 17:52 [PATCH] Completion: Make _mv and _rmdir handle zsh/files variants dana


Archives are clonable: git clone --mirror http://inbox.vuxu.org/zsh-workers

Newsgroup available over NNTP:

AGPL code for this site: git clone https://public-inbox.org/ public-inbox