Apple Silicon Mac iterm2


 

1.iterm2

     下載網址

2.oh my zsh


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

    

3.iTerm2-Color-Schemes

  
    cd Desktop
    git clone https://github.com/mbadolato/iTerm2-Color-Schemes.git



    我是使用這個 Tomorrow Night Eighties.itermcolors


4.安裝 powerline font

  
    arch -x86_64 brew tap caskroom/fonts
arch -x86_64 brew cask install font-sourcecodepro-nerd-font


5.安裝powerlevel10K

   以前用的powerlevel9k 已經不再維護

  
	git clone --depth=1 https://github.com/romkatv/powerlevel10k.git ${ZSH_CUSTOM:-$HOME/.oh-my-zsh/custom}/themes/powerlevel10k

   修改一下~/.zshrc 改為 ZSH_THEME="powerlevel10k/powerlevel10k
   如果不想裝FONT安裝後他會建議下載的FONT 就可以不用經過第四步驟

6.oh-my-zsh 需要的插件安裝

  1. vscode
    
        git clone https://github.com/valentinocossar/vscode.git $ZSH_CUSTOM/plugins/vscode

  2. zsh-autosuggestions
    
        git clone https://github.com/zsh-users/zsh-autosuggestions ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-autosuggestions
  3. zsh-syntax-highlighting
    
        git clone https://github.com/zsh-users/zsh-syntax-highlighting.git ${ZSH_CUSTOM:-~/.oh-my-zsh/custom}/plugins/zsh-syntax-highlighting
    




技術提供:Blogger.