Try   HackMD

Command Line新手入門影片問題

主題:如何更改iterm2介面到類似影片示範的樣子?

問題:如何將介面由↓

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

改為類似下圖↓

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

提示:

關鍵字:Powerlevel10k
網址:https://github.com/romkatv/powerlevel10k


實際安裝流程

點開網頁會看見Powerlevel10K的介紹
"Powerlevel10k is a theme for Zsh. It emphasizes speed, flexibility and out-of-the-box experience."

接著就會看到開始安裝的說明↓

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

在這邊我選擇的是Manual(手動安裝)方式,畢竟旁邊寫著若有疑問或不確定則使用此方式
點下Manual會直接跳到所在的頁面位置↓

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →

將第一個指令複製到iterm2上執行後等待安裝完成
會跳出需重新開啟iterm2來啟動configuration wizard(設定)
若重開之後沒有自動啟動configuration wizard可輸入以下指令↓一樣會啟動設定

p10k configure

裡面可以調整的設定包含頁面樣式、圖示、行距等等依照個人喜好選擇即可

下圖為powerlevel10k的configuration wizard頁面展示

Image Not Showing Possible Reasons
  • The image file may be corrupted
  • The server hosting the image is unavailable
  • The image path is incorrect
  • The image format is not supported
Learn More →