[转载]备忘:oh my zsh 的安装、更新、删除

备忘:oh my zsh 的安装、更新、删除

96 
傅易君 
 0.8 2016.09.25 00:56* 字数 68 阅读 14920评论 0

查看系统当前 shell

$ cat /etc/shells

安装 oh my zsh

$ sudo apt-get install zsh git wget
$ wget -no-check-certificate https://github.com/robbyrussell/oh-my-zsh/raw/master/tools/install.sh -O - | sh
$ chsh -s /bin/zsh
$ reset

配置 zsh

配置文件是 /root/.zshrc,根据需要修改即可。

oh my zsh 的自动更新提示误触关掉了?

$ upgrade_oh_my_zsh

想换 oh my fish?

$ uninstall_oh_my_zsh
$ brew install fish
$ curl -L https://github.com/bpinto/oh-my-fish/raw/master/tools/install.sh | sh

注意到 /root/.zshrc 目录仍然在,还能换回来。

原文地址:https://www.cnblogs.com/xuanbjut/p/11158942.html