commit f5136e1f39a7cfbbe3e4177a5d0ee34d2dec987a Author: Raphaƫl Droz Date: Thu Jun 23 19:34:46 2011 +0200 Colored completion, bugfix (7/6). Do not skip fnprint() if we are not going to complete filenames. diff --git a/lib/readline/complete.c b/lib/readline/complete.c index 1f6ca81..661a5fa 100644 --- a/lib/readline/complete.c +++ b/lib/readline/complete.c @@ -835,9 +835,12 @@ print_filename (to_print, full_pathname, prefix_bytes) extension_char = 0; /* Postpones printing the filename if we need - to prefix the output with a color indicator. */ + to prefix the output with a color indicator. + If we complete eg, a $variable, we start output + now though. + this code may need some reorganization. */ #if defined (COLORED_STATS) - if (! rl_colored_stats) + if (! rl_colored_stats || ! rl_filename_completion_desired) #endif printed_len = fnprint (to_print, prefix_bytes);