标签:hub com tin pre uri shell curl usr github
#安装zsh
sudo apt-get install zsh
#是否安装成功
cat /etc/shells
#/bin/sh
#/bin/bash
#/bin/rbash
#/bin/dash
#/bin/zsh
#/usr/bin/zsh
#修改默认shell,需重启或注销
chsh -s /bin/zsh
#查看当前shell是不是zsh了(需要注销或者重启)
echo $SHELL
#/bin/zsh
#安装git
sudo apt-get install git
#安装oh my zsh
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
#修改默认主题
vim ~/.zshrc
#生效
source ~/.zshrc
install oh my zsh in ubuntu 16.04
标签:hub com tin pre uri shell curl usr github
原文地址:https://www.cnblogs.com/wilwei/p/10247321.html