integrate with bash complete for autocompletion
This commit is contained in:
1 parent
e5114a3e76
commit
201cd1d629
1 file changed
+6
Executable
+6
@@ -0,0 +1,6 @@
|
||||
function _cheat_autocomplete {
|
||||
wdlist='cheat -l|awk "{print $1}"'
|
||||
COMPREPLY=(`compgen -W "$wdlist"`)
|
||||
}
|
||||
|
||||
complete -F _cheat_autocomplete cheat
|
||||
Reference in new issue
Block a user