aboutsummaryrefslogtreecommitdiffhomepage
path: root/parser.cpp
diff options
context:
space:
mode:
authorGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-05 14:21:21 -0700
committerGravatar ridiculousfish <corydoras@ridiculousfish.com>2012-05-05 14:21:21 -0700
commit07f5319472ed7c052b25aec7d29e92126b9bca48 (patch)
treecaba51032fe4e069c8a3fb0cb13518107d0a3721 /parser.cpp
parent47019e315ac9c4b20880fdaa403ec4ca04399d14 (diff)
Fix for failing to properly complete cd command
Diffstat (limited to 'parser.cpp')
-rw-r--r--parser.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/parser.cpp b/parser.cpp
index 513bf316..33f51028 100644
--- a/parser.cpp
+++ b/parser.cpp
@@ -767,7 +767,7 @@ int parser_t::eval_args( const wchar_t *line, std::vector<completion_t> &args )
expand_flags_t eflags = 0;
if (! show_errors)
eflags |= EXPAND_NO_DESCRIPTIONS;
- if (this->parser_type != PARSER_TYPE_GENERAL)
+ if (this->parser_type != PARSER_TYPE_GENERAL && this->parser_type != PARSER_TYPE_COMPLETIONS_ONLY)
eflags |= EXPAND_SKIP_CMDSUBST;
/*