From c53cbd300df75cb140fc3790fba91c3da4e78527 Mon Sep 17 00:00:00 2001 From: Oliver Kiddle Date: Thu, 30 Jan 2003 15:19:07 +0000 Subject: 18153: new function for emulating bash's programmable completion system --- Doc/Zsh/compsys.yo | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'Doc') diff --git a/Doc/Zsh/compsys.yo b/Doc/Zsh/compsys.yo index 685690227..ac938a9fb 100644 --- a/Doc/Zsh/compsys.yo +++ b/Doc/Zsh/compsys.yo @@ -2646,6 +2646,14 @@ tt(COMPLETE_IN_WORD) option is set; otherwise, the cursor will be moved to the end of the current word before the completion code is called and hence there will be no suffix. ) +findex(bashcompinit) +item(tt(bashcompinit))( +This function provides compatibility with bash's programmable completion +system. When run it will define the functions, tt(compgen) and +tt(complete) which correspond to the bash builtins with the same names. It +will then be possible to use completion specifications and functions +written for bash. +) enditem() texinode(Bindable Commands)(Completion Functions)(Control Functions)(Completion System) -- cgit 1.4.1