* [PATCH] Completion: Make _mv and _rmdir handle zsh/files variants
@ 2019-04-24 17:52 dana
0 siblings, 0 replies; only message 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
appropriate)
dana
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] only message in thread
only message in thread, other threads:[~2019-04-24 17:53 UTC | newest]
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
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).