但是若在tmux上開vim卻沒有256色了 , 是因為在tmux上面沒有
所以在tmux上也是要設定
主要是在.tmux.conf加上這行就可以了
- set -g terminal-overrides 'xterm:colors=256'
$ curl -I http://localhost:3000/ HTTP/1.1 200 OK Content-Type: text/html; charset=utf-8 X-Ua-Compatible: IE=Edge Etag: "d3132af4f574ff53eb69e6fa5523fe2a" Cache-Control: max-age=0, private, must-revalidate X-Request-Id: 2cb31eeec2b1beda8e1342f8caa90acd X-Runtime: 0.018216 Content-Length: 0 Server: WEBrick/1.3.1 (Ruby/1.9.2/2011-07-09) Date: Fri, 03 Feb 2012 21:09:22 GMT Connection: Keep-Alive Set-Cookie: _store_session=BAh7B0kiD3Nlc3Npb25faWQGOgZFRkkiJWQ2N2U5MGEwMWZhNGU4ZTI2NzIxOTYxOWE1ODYyNzcxBjsAVEkiEF9j
Cache-Control: max-age=0, private, must-revalidate
config.action_controller.perform_caching = true
<%= csrf_meta_tag unless response.cache_control[:public] %>
HTTP/1.1 200 OKDate: Fri, 30 Oct 1998 13:19:41 GMT Server: Apache/1.3.3 (Unix) Cache-Control: max-age=3600, must-revalidate Expires: Fri, 30 Oct 1998 14:19:41 GMT Last-Modified: Mon, 29 Jun 1998 02:28:12 GMT ETag: "3e86-410-3596fbbc" Content-Length: 1040 Content-Type: text/html
staging: adapter: sqlite3 database: db/staging.sqlite3 pool: 5 timeout: 5000
rails c staging
ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"Homebrew 會將 packages 安裝在他們自己的目錄,然後把檔案 symlink 到/usr/local下。Homebrew 不會把檔案放在預設路徑之外的地方,因此可以在任何位置使用 Homebrew 安裝程式。