# HG changeset patch # User Colin Clark # Date 1530210141 -3600 # Node ID 9113bf368caa0aecc2a0da0a0310fad820716897 # Parent 532fc301c5ba4f8f5e69197640883df163ca2d7e Tabcomp and hidden files Make tabcomp follow the "Show hidden files or folders" option diff -r 532fc301c5ba -r 9113bf368caa src/ui_tabcomp.c --- a/src/ui_tabcomp.c Tue Jun 26 14:50:24 2018 +0100 +++ b/src/ui_tabcomp.c Thu Jun 28 19:22:21 2018 +0100 @@ -136,7 +136,8 @@ while ((dir = readdir(dp)) != NULL) { gchar *name = dir->d_name; - if (strcmp(name, ".") != 0 && strcmp(name, "..") != 0) + if (strcmp(name, ".") != 0 && strcmp(name, "..") != 0 && + (name[0] != '.' || options->file_filter.show_hidden_files)) { gchar *abspath = g_build_filename(pathl, name, NULL);