diff options
author | LAN-TW <lantw44@gmail.com> | 2013-12-05 01:59:55 +0800 |
---|---|---|
committer | LAN-TW <lantw44@gmail.com> | 2013-12-05 01:59:55 +0800 |
commit | ce872c750112cc3ba335c95e88e39c411c776111 (patch) | |
tree | 921e2fa78f50a7d4374808f4fcfc582685aea4fc | |
parent | 73aa230e8be06010a2d5c6b7f7636922b81fe997 (diff) | |
download | configfile-ce872c750112cc3ba335c95e88e39c411c776111.tar.gz configfile-ce872c750112cc3ba335c95e88e39c411c776111.tar.zst configfile-ce872c750112cc3ba335c95e88e39c411c776111.zip |
cgit: 加入 cgitrc
-rw-r--r-- | README | 2 | ||||
-rw-r--r-- | cgit/cgitrc | 46 |
2 files changed, 47 insertions, 1 deletions
@@ -8,7 +8,7 @@ bash_include,正確的檔名是 ~/.bash_include . ~/.bash_include fi -cgit,這是我的 cgit 設定檔 +cgit,這是我的 cgit 設定檔,需使用 cgit v0.9.2 或更高版本 用於線上瀏覽 git repository 的設定檔。 screenrc,正確的檔名是 ~/.screenrc diff --git a/cgit/cgitrc b/cgit/cgitrc new file mode 100644 index 0000000..14a708f --- /dev/null +++ b/cgit/cgitrc @@ -0,0 +1,46 @@ +css=/~@USER@/cgit/cgit.css +logo=/~@USER@/cgit/cgit.png + +source-filter=@HOME@/public_html/cgit/lib/cgit/filters/syntax-highlighting.sh +about-filter=@HOME@/public_html/cgit/lib/cgit/filters/about-formatting.sh +branch-sort=age +local-time=1 +enable-commit-graph=1 +enable-index-owner=0 +enable-log-filecount=1 +enable-log-linecount=1 +max-stats=year +max-commit-count=250 +clone-url=http://@HOST@/~@USER@/git/$CGIT_REPO_URL +snapshots=zip tar.gz tar.bz2 tar.xz +root-title=Git Repository Browser (@HOST@) +root-readme=@HOME@/public_html/cgit/readme +readme=:README.md +readme=:readme.md +readme=:README.txt +readme=:readme.txt +readme=:README +readme=:readme +readme=:INSTALL.md +readme=:install.md +readme=:INSTALL.txt +readme=:install.txt +readme=:INSTALL +readme=:install + +section=a: Applications +scan-path=@HOME@/public_html/cgit/category/app +section=b: Libraries +scan-path=@HOME@/public_html/cgit/category/lib +section=c: Tools +scan-path=@HOME@/public_html/cgit/category/tool +section=d: Packages +scan-path=@HOME@/public_html/cgit/category/package +section=e: GNOME +scan-path=@HOME@/public_html/cgit/category/gnome +section=x: Misc +scan-path=@HOME@/public_html/cgit/category/misc +section=y: Mirrors (Not my projects!) +scan-path=@HOME@/public_html/cgit/category/mirror +section=z: Temporary Projects +scan-path=@HOME@/public_html/cgit/category/temp |