Made tests compile again

Renamed autosuggest_handle_special to autosuggest_special_validate_from_history
Began work to factor autosuggest_special_validate_from_history together with autosuggest_suggest_special
This commit is contained in:
ridiculousfish
2012-05-07 12:55:13 -07:00
parent 99b51ce6ea
commit 1a264ab7c2
6 changed files with 169 additions and 162 deletions

View File

@@ -1269,7 +1269,7 @@ struct autosuggestion_context_t {
continue;
bool item_ok = false;
if (autosuggest_handle_special(item.str(), working_directory, &item_ok)) {
if (autosuggest_special_validate_from_history(item.str(), working_directory, &item_ok)) {
/* The command autosuggestion was handled specially, so we're done */
} else {
/* See if the item has any required paths */