File awful/completion.lua
Author:
Julien Danjou <julien@danjou.info> |
Copyright ©2008 Julien Danjou
Release: v3.1.2
Functions
bash (command, cur_pos, ncomp) | Use bash completion system to complete command and filename. |
bashcomp_load (src) | Enable programmable bash completion in awful.completion.bash at the price of a slight overhead |
Functions
- bash (command, cur_pos, ncomp)
-
Use bash completion system to complete command and filename.
Parameters
- command: The command line.
- cur_pos: The cursor position.
- ncomp: The element number to complete.
Return value:
The new command and the new cursor position. - bashcomp_load (src)
-
Enable programmable bash completion in awful.completion.bash at the price of a slight overhead
Parameters
- src: The bash completion source file, /etc/bash_completion by default.