Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
PATCH: _sccs: don't handle subcommands in main namespace
- X-seq: zsh-workers 52056
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: zsh-workers@xxxxxxx
- Subject: PATCH: _sccs: don't handle subcommands in main namespace
- Date: Tue, 15 Aug 2023 15:15:49 +0200
- Archived-at: <https://zsh.org/workers/52056>
- List-id: <zsh-workers.zsh.org>
If someone using sccs wants to save typing, they can just do
alias get="sccs get" anyway.
---
This came up on IRC where someone was trying to use a real command called
delta and it wouldn't complete files for them.
Completion/Unix/Command/_sccs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Completion/Unix/Command/_sccs b/Completion/Unix/Command/_sccs
index 4083fe54e1..20222a5c17 100644
--- a/Completion/Unix/Command/_sccs
+++ b/Completion/Unix/Command/_sccs
@@ -1,4 +1,4 @@
-#compdef sccs admin cdc comb delta get help prs prt rmdel sact sccsdiff unget val what
+#compdef sccs sccsdiff
(( $+functions[_sccs_files] )) ||
_sccs_files() {
--
2.38.1
Messages sorted by:
Reverse Date,
Date,
Thread,
Author