Install oh My Zsh on Ubuntu

在Ubuntu中使用oh-my-zsh

1. 安裝相依性套件

sudo apt install -y -qq zsh zsh-autosuggestions git curl

2. 安裝字型

sudo apt install -y -qq fonts-powerline fonts-firacode

3. 安裝oh-my-zsh

sh -c "$(curl -fsSL https://raw.github.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

4. (Optional) 設定zsh theme

sed 's/^ZSH_THEME="\w.*/ZSH_THEME="agnoster"/' ~/.zshrc > ~/.zshrc

其他相關