Copyright (C) 2000-2012 |
GNU Info (zsh.info)Completion Using compctlCompletion Using compctl ************************ Types of completion =================== This version of zsh has two ways of performing completion of words on the command line. New users of the shell may prefer to use the newer and more powerful system based on shell functions; this is described in Note: Completion System, and the basic shell mechanisms which support it are described in Note: Completion Widgets. This chapter describes the older compctl command. Description =========== compctl [ -CDT ] OPTIONS [ COMMAND ... ] compctl [ -CDT ] OPTIONS [ -x PATTERN OPTIONS - ... - ] [ + OPTIONS [ -x ... - ] ... [+] ] [ COMMAND ... ] compctl -M MATCH-SPECS ... compctl -L [ -CDTM ] [ COMMAND ... ] compctl + COMMAND ... Control the editor's completion behavior according to the supplied set of OPTIONS. Various editing commands, notably expand-or-complete-word, usually bound to tab, will attempt to complete a word typed by the user, while others, notably delete-char-or-list, usually bound to ^D in EMACS editing mode, list the possibilities; compctl controls what those possibilities are. They may for example be filenames (the most common case, and hence the default), shell variables, or words from a user-specified list. automatically generated by info2www version 1.2.2.9 |