This commit is contained in:
ridiculousfish
2012-08-15 18:20:44 -07:00
parent 26857fabdc
commit 7d029778e6
3 changed files with 37 additions and 10 deletions

View File

@@ -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,