Explorar el Código

Add support a default association

master
sin hace 10 años
padre
commit
51253b0564
Se han modificado 1 ficheros con 5 adiciones y 4 borrados
  1. +5
    -4
      noice.c

+ 5
- 4
noice.c Ver fichero

@@ -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
Cargando…
Cancelar
Guardar