vault backup: 2022-06-14 22:05:13

Affected files:
.obsidian/workspace
02. PARA/03. Resources(資源)/Tool Setup/Windows Terminal.md
attachments/Pasted image 20220614220342.png
This commit is contained in:
2022-06-14 22:05:13 +08:00
parent c9caa6fa2f
commit 3ef2e7d929
3 changed files with 7 additions and 1 deletions

2
.obsidian/workspace vendored
View File

@@ -10,7 +10,7 @@
"type": "markdown", "type": "markdown",
"state": { "state": {
"file": "02. PARA/03. Resources資源/Tool Setup/Windows Terminal.md", "file": "02. PARA/03. Resources資源/Tool Setup/Windows Terminal.md",
"mode": "source", "mode": "preview",
"source": true "source": true
} }
} }

View File

@@ -159,6 +159,12 @@ unset THEME
1. 先下載一個你喜歡的theme: [https://ohmyposh.dev/docs/themes](https://ohmyposh.dev/docs/themes) 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) 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` 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 ## 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/) - [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/)

Binary file not shown.

After

Width:  |  Height:  |  Size: 14 KiB