CentOS7 終端美化


安裝使用on-my-zsh

  1. 安裝zsh: yum isntall -y on-my-zsh
  2. 下載安裝主題:sh -c "$(curl -fsSL https://raw.githubusercontent.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
  3. 替換bash:chsh -s "which zsh"
  4. 切換主題:vi ~/.zshrc,替換ZSH_THEME="agnoster"
  5. 安裝git:yum install -y git
  6. 下載安裝文字樣式:git clone https://github.com/powerline/fonts.git && ./fonts/install.sh
  7. 設置客戶端字體為自定義樣式
  8. 重啟終端

參考

原文:https://www.cnblogs.com/lfoder/p/7736171.html

oh-myzsh樣式:https://github.com/ohmyzsh/ohmyzsh/wiki/themes


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM