Ver código fonte

Add support a default association

master
sin 10 anos atrás
pai
commit
51253b0564
1 arquivos alterados com 5 adições e 4 exclusões
  1. +5
    -4
      noice.c

+ 5
- 4
noice.c Ver arquivo

@@ -42,11 +42,12 @@ struct assoc {


/* Configuration */ /* Configuration */
struct assoc assocs[] = { struct assoc assocs[] = {
{ ".(avi|mp4|mkv|mp3|ogg)$", "mplayer" }, { "\\.(avi|mp4|mkv|mp3|ogg)$", "mplayer" },
{ ".srt$", "less" }, { "\\.srt$", "less" },
{ ".txt$", "less" }, { "\\.txt$", "less" },
{ ".sh$", "sh" }, { "\\.sh$", "sh" },
{ "^README$", "less" }, { "^README$", "less" },
{ ".*", "less" },
}; };


struct entry { struct entry {


||||||
x
 
000:0
Carregando…
Cancelar
Salvar