diff --git a/.obsidian/workspace b/.obsidian/workspace index 6c9ac99..7582df3 100644 --- a/.obsidian/workspace +++ b/.obsidian/workspace @@ -10,7 +10,7 @@ "type": "markdown", "state": { "file": "02. PARA/03. Resources(資源)/Tool Setup/Windows Terminal.md", - "mode": "source", + "mode": "preview", "source": true } } diff --git a/02. PARA/03. Resources(資源)/Tool Setup/Windows Terminal.md b/02. PARA/03. Resources(資源)/Tool Setup/Windows Terminal.md index f348404..0317f32 100644 --- a/02. PARA/03. Resources(資源)/Tool Setup/Windows Terminal.md +++ b/02. PARA/03. Resources(資源)/Tool Setup/Windows Terminal.md @@ -159,6 +159,12 @@ unset THEME 1. 先下載一個你喜歡的theme: [https://ohmyposh.dev/docs/themes](https://ohmyposh.dev/docs/themes) 2. 下載並安裝字型:[Caskaydia Cove Nerd Font](https://github.com/ryanoasis/nerd-fonts/releases/download/v2.1.0/CascadiaCode.zip?WT.mc_id=-blog-scottha) 3. Install OhMyPosh: `winget install JanDeDobbeleer.OhMyPosh` +4. 建立並修改 `~/.profile`,然後加入 + `eval "$(oh-my-posh --init --shell bash --config ~/OneDrive/appConfigs/ohmyposh/themes/montys.omp.json)"` + 注意最後的 `montys.omp.json` 就是第一步下載的theme,這邊要改成你自己的路徑。 +5. 修改 Windows Terminal 的 setting.json,將字型改為 `CaskaydiaCove NF` +6. 成果 + ![[Pasted image 20220614220342.png|600]] ## Reference - [Windows Terminal 美化 for WSL 2 Ubuntu (zsh + zim + powerlevel10k)](http://www.kenming.idv.tw/windows-terminal-%e7%be%8e%e5%8c%96-for-wsl-2-ubuntu-zsh-zim-powerlevel10k/) diff --git a/attachments/Pasted image 20220614220342.png b/attachments/Pasted image 20220614220342.png new file mode 100644 index 0000000..1217b1f Binary files /dev/null and b/attachments/Pasted image 20220614220342.png differ