赞
踩
新版mac系统会默认安装并使用zsh,如没用,需在终端中安装:
brew install zsh
克隆Oh My Zsh到你的目录:
git clone https://github.com/robbyrussell/oh-my-zsh.git ~/.oh-my-zsh
.zshrc
配置文件cp ~/.oh-my-zsh/templates/zshrc.zsh-template ~/.zshrc
chsh -s /bin/zsh
在.zshrc
中添加别名:
alias ll='ls -l'
每次修改.zshrc后,使更改生效:
source ~/.zshrc
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。