diff --git a/lib/widget/input_complete.c b/lib/widget/input_complete.c index f2ffc5881..eeeba50d7 100644 --- a/lib/widget/input_complete.c +++ b/lib/widget/input_complete.c @@ -283,7 +283,7 @@ filename_completion_function (const char *text, int state, input_complete_t flag temp = g_string_sized_new (16); - if (users_dirname != NULL && (users_dirname[0] != '.' || users_dirname[1] != '\0')) + if (users_dirname != NULL && !DIR_IS_DOT (users_dirname)) { g_string_append (temp, users_dirname);