Add support a default association

This commit is contained in:
sin 2014-10-09 15:23:16 +01:00
parent 0e2ea28a30
commit 51253b0564

View file

@ -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 {