diff --git a/config.def.h b/config.def.h index 855af216..150968e5 100644 --- a/config.def.h +++ b/config.def.h @@ -8,7 +8,7 @@ struct assoc assocs[] = { { "\\.(html|svg)$", "firefox" }, { "\\.pdf$", "mupdf" }, { "\\.sh$", "sh" }, - { ".*", "less" }, + { ".", "less" }, }; struct key bindings[] = { diff --git a/noice.c b/noice.c index e656949f..0f55a8bf 100644 --- a/noice.c +++ b/noice.c @@ -758,9 +758,9 @@ main(int argc, char *argv[]) char *ifilter; if (getuid() == 0) - ifilter = ".*"; + ifilter = "."; else - ifilter = "^[^.].*"; /* Hide dotfiles */ + ifilter = "^[^.]"; /* Hide dotfiles */ if (argv[1] != NULL) { ipath = argv[1];