aboutsummaryrefslogtreecommitdiffhomepage
path: root/highlight.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-07 23:54:43 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2013-04-07 23:54:43 -0700
commitb8f34cdd35cfddb4573e6b1ccc8f063b840b6b54 (patch)
tree1114918a109579ad61cf437272080c5da1c5978b /highlight.cpp
parent993c02857948b45e5d17cc2696f347c73b3a450d (diff)
Teach case-insensitive completions about tildes. Fixes https://github.com/fish-shell/fish-shell/issues/647
Diffstat (limited to 'highlight.cpp')
-rw-r--r--highlight.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/highlight.cpp b/highlight.cpp
index 452aa2de..488d7517 100644
--- a/highlight.cpp
+++ b/highlight.cpp
@@ -810,7 +810,9 @@ bool autosuggest_suggest_special(const wcstring &str, const wcstring &working_di
wcstring_list_t parsed_arguments;
int parsed_last_arg_pos = -1;
if (! autosuggest_parse_command(str, &parsed_command, &parsed_arguments, &parsed_last_arg_pos))
+ {
return false;
+ }
bool result = false;
if (parsed_command == L"cd" && ! parsed_arguments.empty())