I have read the source code of Busybox for two days, but i can't find the code that achieve auto-completion. Is it in file ash.c? I just found that '\\t' was treated as ' '. Who can tell me which part of codes achieving auto-completion.
This function in lineedit.c
, unsigned complete_cmd_dir_file
, is what you're looking for I believe:
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.