mac 命令行配置

安装zsh

sh -c"$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"

设置默认zsh

chsh-s /bin/zsh

安装autojump

#安装完使用j+目录名跳转brew install autojump

安装语法高亮

brew install zsh-syntax-highlighting

安装命令提示

brew install zsh-autosuggestions

修改zsh配置 vim ~/.zshrc

#配置插件plugins=(  git  autojump  zsh-syntax-highlighting  zsh-autosuggestions)#设置命令st文件/目录名用sublime打开aliasst='open -a Sublime\ Text'#导入插件source/usr/local/share/zsh-autosuggestions/zsh-autosuggestions.zshsource/usr/local/share/zsh-syntax-highlighting/zsh-syntax-highlighting.zsh

你可能感兴趣的:(mac 命令行配置)