瀏覽代碼

Add support a default association

master
sin 10 年之前
父節點
當前提交
51253b0564
共有 1 個檔案被更改,包括 5 行新增4 行删除
  1. +5
    -4
      noice.c

+ 5
- 4
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…
取消
儲存