about summary refs log tree commit diff
path: root/Doc
diff options
context:
space:
mode:
authorOliver Kiddle <opk@users.sourceforge.net>2003-01-30 15:19:07 +0000
committerOliver Kiddle <opk@users.sourceforge.net>2003-01-30 15:19:07 +0000
commitc53cbd300df75cb140fc3790fba91c3da4e78527 (patch)
tree9f4f2048a07c41f66a8f3b674c6e06ac9bf3e654 /Doc
parent8df030872c95122d58d83ffc16bf5e9290a6ff3b (diff)
downloadzsh-c53cbd300df75cb140fc3790fba91c3da4e78527.tar.gz
zsh-c53cbd300df75cb140fc3790fba91c3da4e78527.tar.xz
zsh-c53cbd300df75cb140fc3790fba91c3da4e78527.zip
18153: new function for emulating bash's programmable completion system
Diffstat (limited to 'Doc')
-rw-r--r--Doc/Zsh/compsys.yo8
1 files changed, 8 insertions, 0 deletions
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)