mirror of
https://github.com/jarun/nnn.git
synced 2024-11-28 05:41:31 +00:00
Add support a default association
This commit is contained in:
parent
0e2ea28a30
commit
51253b0564
9
noice.c
9
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 {
|
||||
|
|
Loading…
Reference in a new issue