diff options
| -rw-r--r-- | config.def.h | 2 | ||||
| -rw-r--r-- | noice.c | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/config.def.h b/config.def.h index 855af21..150968e 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[] = { @@ -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]; |