Macbook OS X 安装配置zsh

May 29th, 2016 no comment
屏幕快照 2016-05-29 11.50.50

换了新macbook pro retina 13后折腾了下号称终极shell的zsh。 把安装文档记录下: terminal 默认shell换为zsh: chsh -s /bin/zsh 安装oh-my-zsh: git clone git://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc 安装autojump: brew install autojump 编辑.zshrc,修改plugsin: plugins=(git python adb brew autojump gradle) 加入如下内容: alias cls=’clear’ alias ll=’ls -l’ alias la=’ls -a’ alias s=’ssh’ alias vi=’vim’ alias grep=”grep –color=auto” alias -s html=vi # 在命令行直接输入后缀为 html 的文件名,会在 TextMate 中打开 alias […]