lantw44 / configfile Goto Github PK
View Code? Open in Web Editor NEWMy public configuration files for Unix-like systems
My public configuration files for Unix-like systems
bash_addps,正確的檔名是 ~/.bash_addps 這是搭配 bash_include 使用的檔案,用以提示目前的主機環境。 bash_include,正確的檔名是 ~/.bash_include 這是擴充 bash 功能的函式,可以在 ~/.bashrc 或是 ~/.profile 加入以下 指令來載入此檔案。 if [ -f ~/.bash_include ]; then . ~/.bash_include fi cgit,這是我的 cgit 設定檔,需使用 cgit v0.9.2 或更高版本 用於線上瀏覽 git repository 的設定檔。 screenrc,正確的檔名是 ~/.screenrc 主要功能是顯示狀態列以及程式結束時不關閉視窗。 ssh_config,正確的檔名是 ~/.ssh/config 這個檔案目前已廢棄不用。 vimrc,正確的檔名是 ~/.vimrc 可以藉由檔頭的幾個全域變數快速調整此檔案的行為,以及是否需要外掛 若要使用外掛程式,必須先安裝 vundle,並進入 vim 執行 :BundleInstall git clone https://github.com/gmarik/vundle.git ~/.vim/bundle/vundle w3m_keymap,正確的檔名是 ~/.w3m/keymap 定義修改網頁字元編碼的按鍵。 ======================================================================== 這些設定檔的目標都是支援 Unix-like 系統,我會盡可能以可攜的方式寫下這些 script。若沒有可攜的標準指令,我會嘗試就我所知道的環境,分別使用不同的 指令,並自動根據目前環境選擇適合的指令。 以往有支援 Windows 的 vimrc,不過因為很少使用 Windows,這檔案已經很久沒 維護了。Windows 版的設定檔仍可在此下載: http://www.tfcis.org/~lantw44/configfile/Windows/ 以下是目前各環境與作業系統的支援與測試情形 主要支援環境 GNU/Linux、FreeBSD 已經測試過的環境 NetBSD、OpenBSD、Cygwin、MinGW、GNU/Hurd、OpenIndiana 沒有測試過的環境 Android、macOS、Interix ======================================================================== 使用說明: 這些設定檔主要以 bash script 來管理,所以以下假設使用的 shell 是 bash, 如果不是 bash,那很多工作就得手動執行了。 1. 下載 bash_include 2013/09/20 以後的版本,儲存成 ~/.bash_include。 2. 執行 source ~/.bash_include 來載入設定檔。 3. 執行 configfile_fetch 來下載新版的 bash_include 和其他設定檔。 4. 執行 configfile_initial_setup 來讓 bash 自動載入 bash_include。 5. 完成!執行 helpf 與 helpa 可以看到簡單的指令操作說明。 簡單來說,就是依序執行以下的指令: wget -O ~/.bash_include \ http://www.tfcis.org/~lantw44/configfile/Unix-like/latest/bash_include source ~/.bash_include configfile_fetch configfile_initial_setup
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.