Additional work on unifying cd autosuggestions with complete

This commit is contained in:
ridiculousfish
2016-02-08 01:29:23 -08:00
parent c39b94949b
commit 1907323afc
13 changed files with 313 additions and 149 deletions

View File

@@ -223,7 +223,7 @@ void reader_pop();
- The command to be completed as a null terminated array of wchar_t
- An array_list_t in which completions will be inserted.
*/
typedef void (*complete_function_t)(const wcstring &, std::vector<completion_t> *, completion_request_flags_t);
typedef void (*complete_function_t)(const wcstring &, std::vector<completion_t> *, completion_request_flags_t, const env_vars_snapshot_t &);
void reader_set_complete_function(complete_function_t);
/**