2013年8月15日 星期四

Switching from bash to zsh on OSX

I switched from bash to zsh and installed oh-my-zsh.
Here are my dotfiles.

Screenshots:

console(ys theme)
xml(vim)
hx(vim)
java(vim)

[update 20131106]
批次改檔名
autoload -Uz zmv
zmv '*.txt' '$1.xml'
zmv -W '*.log' '*.txt'

直接修改環境變數
vared PATH

[update 20140616]
* Xcode: install it from apple store.
* Xcode Monokai Revisited theme: https://github.com/b0ti/xcode-monokai-revisited
* Command Line Tools for Xcode: https://developer.apple.com/downloads/index.action
* homebrew: ruby -e "$(curl -fsSL https://raw.github.com/Homebrew/homebrew/go/install)"
* iTerm2: download from http://www.iterm2.com
* Solarized for iTerm2: https://github.com/altercation/solarized/tree/master/iterm2-colors-solarized
   Preferences -> Profiles -> Colors -> Load Presets -> import -> solarized theme file
   Preferences -> Profiles -> Colors -> Load Presets -> Solarized
* Setting for iTerm2: Preferences -> Profiles -> Text -> disable Draw bold text in bright colors
* Setting Font Size: 14pt
* Setting zsh: ZSH_THEME="ys"

沒有留言:

張貼留言