Document how to avoid command_not_found_handler interference
parent
6c2ae9fb18
commit
1d9e705639
8
README
8
README
|
@ -260,6 +260,14 @@ A. Probably because the database is being queried every time and this uses a
|
|||
unless it detects that the database has changed since the file was created,
|
||||
in which case it will still use the database to ensure accuracy.
|
||||
|
||||
Q. bash-completion interferes with my command_not_found_handler function!
|
||||
|
||||
A. If your command_not_found_handler function is not intended to address
|
||||
(possibly missing) commands invoked during bash programmable completion
|
||||
functions, you can take that into account in your function for example by
|
||||
testing if the $COMP_* variables are set and taking appropriate bypass or
|
||||
other action.
|
||||
|
||||
Q. Can tab completion be made even easier?
|
||||
|
||||
A. The readline(3) library offers a few settings that can make tab
|
||||
|
|
Loading…
Reference in New Issue