# man page highlightexportLESS_TERMCAP_mb=$'\E[01;31m'# begin blinkingexportLESS_TERMCAP_md=$'\E[01;38;5;74m'# begin boldexportLESS_TERMCAP_me=$'\E[0m'# end modeexportLESS_TERMCAP_se=$'\E[0m'# end standout-modeexportLESS_TERMCAP_so=$'\E[38;5;246m'# begin standout-mode - info boxexportLESS_TERMCAP_ue=$'\E[0m'# end underlineexportLESS_TERMCAP_us=$'\E[04;38;5;146m'# begin underline
Oh My Zsh 本身自带了很多插件,不过基本都没有启用,插件目录 ~/.oh-my-zsh/plugins
例如启用插件 git, autojumps osx, 需要在配置文件中加入如下内容
// OS X only: When files are opened from finder, or by dragging onto the
// dock icon, this controls if a new window is created or not.
“open_files_in_new_window”: false,
git checkout 0060dc3 Library/Formula/subversion.rb
brew install --universal --java subversion
A universal build was requested, but neon was already built for a single arch.
You may need to `brew rm neon` first.
A universal build was requested, but sqlite was already built for a single arch.
You may need to `brew rm sqlite` first.
brew rm sqlite neon
Uninstalling /usr/local/Cellar/sqlite/3.7.10...
Uninstalling /usr/local/Cellar/neon/0.29.6...
brew install --universal neon sqlite
如果出现Error: No available formula for serf
发现github上的serf.rb不存在了
找到一个历史版本https://raw.github.com/mxcl/homebrew/f689d5232ce824fe6dd4b64df729abfc487a6558/Library/Formula/serf.rb
放入到Library/Formula中就可以安装serf了