aboutsummaryrefslogtreecommitdiffhomepage
path: root/expand.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-06 13:36:51 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-06 13:36:51 -0700
commit71a8d39372936ef52da45cb368eb314ec120b2c6 (patch)
treebd02abd8160ada9695c9213a1bdcea45343123a8 /expand.cpp
parent90826e403121c7d878ba1ce4aa172ac5e96afeb5 (diff)
Fix to restore completions that use command substitution (like cd)
Fix to adopt the same escaping code for both completions and autosuggestions
Diffstat (limited to 'expand.cpp')
-rw-r--r--expand.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/expand.cpp b/expand.cpp
index 905f7f98..c6e85191 100644
--- a/expand.cpp
+++ b/expand.cpp
@@ -1419,7 +1419,7 @@ static void remove_internal_separator2( wcstring &s, int conv )
int expand_string( const wcstring &input, std::vector<completion_t> &output, expand_flags_t flags )
{
- parser_t parser(PARSER_TYPE_ERRORS_ONLY);
+ parser_t parser(PARSER_TYPE_ERRORS_ONLY, true /* show errors */);
std::vector<completion_t> list1, list2;
std::vector<completion_t> *in, *out;