安装oh-my-zsh 和 oh-my-tmux
2021/01
07
20:01
sudo apt install fonts-powerline zsh -y
cd ~/ && bash <(wget -qO- https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh) --unattended
sed -i '/^ZSH_THEME=/c\ZSH_THEME="agnoster"' ~/.zshrc
git clone https://github.com/zsh-users/zsh-syntax-highlighting ~/.oh-my-zsh/plugins/zsh-syntax-highlighting
git clone https://github.com/zsh-users/zsh-autosuggestions ~/.oh-my-zsh/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-completions ~/.oh-my-zsh/plugins/zsh-completions
sed -i '/^plugins=/c\plugins=( git colored-man-pages zsh-syntax-highlighting zsh-autosuggestions zsh-completions)' ~/.zshrc
[ -z "$(grep "autoload -U compinit && compinit" ~/.zshrc)" ] && echo "autoload -U compinit && compinit" >> ~/.zshrc
git clone https://github.com/gpakosz/.tmux.git
ln -s -f .tmux/.tmux.conf
cp .tmux/.tmux.conf.local .
chsh -s $(which zsh)
--转载请注明: https://jp.traekle.com/2021/01/07/%e5%ae%89%e8%a3%85oh-my-zsh-%e5%92%8c-oh-my-tmux/
发表回复