From dae0f63e5ba0a1c05f2a9b70b5e0f86bb532a4f5 Mon Sep 17 00:00:00 2001 From: ridiculousfish Date: Thu, 4 Feb 2016 12:45:09 -0800 Subject: Prefer special autosuggestions to match case Fixes #2672 --- src/highlight.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/highlight.h') diff --git a/src/highlight.h b/src/highlight.h index e0cd612e..03e192a2 100644 --- a/src/highlight.h +++ b/src/highlight.h @@ -115,7 +115,7 @@ bool autosuggest_validate_from_history(const history_item_t &item, file_detectio /** Given the command line contents 'str', return via reference a suggestion by specially recognizing the command. The suggestion is escaped. Returns true if we recognized the command (even if we couldn't think of a suggestion for it). */ -bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_directory, wcstring &outString); +bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_directory, wcstring *out_suggestion); /* Tests whether the specified string cpath is the prefix of anything we could cd to. directories is a list of possible parent directories (typically either the working directory, or the cdpath). This does I/O! -- cgit v1.2.3