aboutsummaryrefslogtreecommitdiffstats
path: root/noice.c
diff options
context:
space:
mode:
Diffstat (limited to 'noice.c')
-rw-r--r--noice.c9
1 files changed, 5 insertions, 4 deletions
diff --git a/noice.c b/noice.c
index 7904367..a1d488f 100644
--- a/noice.c
+++ b/noice.c
@@ -42,11 +42,12 @@ struct assoc {
/* Configuration */
struct assoc assocs[] = {
- { ".(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
- { ".srt$", "less" },
- { ".txt$", "less" },
- { ".sh$", "sh" },
+ { "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
+ { "\\.srt$", "less" },
+ { "\\.txt$", "less" },
+ { "\\.sh$", "sh" },
{ "^README$", "less" },
+ { ".*", "less" },
};
struct entry {