diff options
author | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-15 18:20:44 -0700 |
---|---|---|
committer | ridiculousfish <corydoras@ridiculousfish.com> | 2012-08-15 18:20:44 -0700 |
commit | 7d029778e627217bf7d3ef33b5fccf43f8dd4dde (patch) | |
tree | 8790a200ffa3e7c30af40e1ea500b2abe68c3e3a /complete.cpp | |
parent | 26857fabdc72c4b045bf7acf6d2a6a4f55354bae (diff) |
Disable file completion descriptions per https://github.com/fish-shell/fish-shell/issues/279
Diffstat (limited to 'complete.cpp')
-rw-r--r-- | complete.cpp | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/complete.cpp b/complete.cpp index a4f6a9aa..11d689c6 100644 --- a/complete.cpp +++ b/complete.cpp @@ -1521,8 +1521,9 @@ void completer_t::complete_param_expand( const wcstring &sstr, bool do_file) if (! do_file) flags |= EXPAND_SKIP_WILDCARDS; - - if (type == COMPLETE_AUTOSUGGEST) + + /* Squelch file descriptions per issue 254 */ + if (type == COMPLETE_AUTOSUGGEST || do_file) flags |= EXPAND_NO_DESCRIPTIONS; if( expand_string( comp_str, |