代码改变世界

Configure oh my zsh

2023-10-03 20:46  蜡笔小旧  阅读(8)  评论(0编辑  收藏  举报
sudo apt install zsh
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)"

REF: https://github.com/ohmyzsh/ohmyzsh/wiki/Installing-ZSH

NOTE: 

fatal: unable to access 'https://github.com/ohmyzsh/ohmyzsh.git/': GnuTLS recv error (-110): The TLS connection was non-properly terminated.

git config --global http.sslVerify false

pugins:

git clone https://github.com/zsh-users/zsh-autosuggestions.git $ZSH_CUSTOM/plugins/zsh-autosuggestions
git clone https://github.com/zsh-users/zsh-syntax-highlighting.git $ZSH_CUSTOM/plugins/zsh-syntax-highlighting
git clone https://github.com/zdharma-continuum/fast-syntax-highlighting.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/plugins/fast-syntax-highlighting
git clone --depth 1 -- https://github.com/marlonrichert/zsh-autocomplete.git $ZSH_CUSTOM/plugins/zsh-autocomplete
nano ~/.zshrc

plugins=(git zsh-autosuggestions zsh-syntax-highlighting fast-syntax-highlighting zsh-autocomplete)

source ~/.zshrc

  

 

REF: https://gist.github.com/n1snt/454b879b8f0b7995740ae04c5fb5b7df

 

theme

ZSH_THEME="af-magic"