Compare commits

..

No commits in common. "bddc2acbc2360b2e883400decbff6f5e801f9b72" and "03b4d55095ddb872b89b50896c2aea84e5fba5d0" have entirely different histories.

4 changed files with 10 additions and 23 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 245 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 212 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 210 KiB

View File

@ -29,17 +29,16 @@ Yuan dotfile 自用環境設定檔
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
### Linux / macOS ### Linux / macOS
#### 安裝主dotfiles包 #### 安裝主dotfiles包
若你是在以下環境,需要先做特殊處理 <details>
* <details> <summary>PS. 若是用Debian Slim 精簡版作業系統,要先安裝 curl</summary>
<summary>Debian Slim 精簡版作業系統,要先安裝 curl</summary>
```
apt update && apt install curl -y apt update && apt install curl -y
```
</details> </details>
* Synology 主機,需要使用特殊的安裝方式,[詳情請直接跳去看最後面](#Synology的安裝方式)
安裝整包設定擋與執行相關腳本
若無上述特殊環境或已經處理事先要做的事情以後,安裝整包設定擋與執行相關腳本:
``` ```
sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply chyuaner sh -c "$(curl -fsLS get.chezmoi.io)" -- init --apply chyuaner
``` ```
@ -84,14 +83,14 @@ $ xcode-select --install
#### 若需要刪掉重來 #### 若需要刪掉重來
``` ```
chezmoi purge rm -rf ~/.local/share/chezmoi
rm -rf ~/.local/share/chezmoi-private
``` ```
可能會需要刪掉相關設定 可能會需要刪掉相關設定
``` ```
rm ~/.ssh/known_hosts rm ~/.ssh/known_hosts
rm -rf ~/.vimrc ~/.vim ~/.gvimrc rm -rf ~/.vimrc ~/.vim ~/.gvimrc
rm -rf ~/.config/nvim ~/.local/share/nvim ~/.cache/nvim
rm ~/.zshrc rm ~/.zshrc
rm -rf ~/.config/alacritty ~/.config/zellij rm -rf ~/.config/alacritty ~/.config/zellij
``` ```
@ -177,13 +176,6 @@ hex2xterm "#FFFFFF"
zsh zsh
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
有精心整理出兩個我常用的樣式配置:日常工作電腦用、伺服器用
工作電腦用:
![](.readme/Screenshot_20250504_101604.png)
伺服器用:
![](.readme/Screenshot_20250504_101539.png)
### 有用到的套件 ### 有用到的套件
* colorls * colorls
@ -209,11 +201,6 @@ zinit self-update
zinit update zinit update
``` ```
bash
--------------------------------------------------------------------------------
雖然我會用到的機會比較少了幾乎都被zsh取代但是有部份我管理的伺服器主機不允許安裝zsh所以bash有時候還會用到就一起調整了
![](.readme/Screenshot_20250504_102535.png)
neovim neovim
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
@ -313,7 +300,7 @@ watchman shutdown-server
watchman watch-del-all watchman watch-del-all
``` ```
Synology的安裝方式 Synology的安裝方式
-------------------------------------------------------------------------------- --------------------------------------------------------------------------------
因為Synology 預設使用的是 sh通常是 BusyBox 版本),不是 GNU bash會導致普通的方式會出錯。 因為Synology 預設使用的是 sh通常是 BusyBox 版本),不是 GNU bash會導致普通的方式會出錯。