CLI
- 命令列介面 (CLI: Command-Line Interface) 是以指令與電腦互動的介面
- 缺點
- 優點
- 執行速度極快
- 可製作自動化操作腳本
- 可進行極大量的操作
- CLI 能在自己的 App 中使用
Mac CLI 介面美化
安裝 oh my zsh
# 安裝指令
sh -c "$(curl -fsSL https://raw.github.com/robbyrussell/oh-my-zsh/master/tools/install.sh)"
更換 theme (風格)
# 打開 zsh 配置文件
open ~/.zshrc
# 選擇 themes (風格),例如:agnoster.zsh-theme
ZSH_THEME="agnoster"
# 可選擇的 themes
open ~/.oh-my-zsh/themes
更換 color schemes (配色)
- 打開終端機 -> 設定 (command + ,)
- 進入描述檔頁面,將預設值切換到喜歡的配色
- 下載其他配色
更換 font (字型)
- 一樣在設定裡的描述檔頁面
- 部分主題用到字元來自 Powerline patched fonts 或 Nerd Fonts ,需要支援的字型才能顯示
- 下載來源