Compare commits
No commits in common. "bddc2acbc2360b2e883400decbff6f5e801f9b72" and "03b4d55095ddb872b89b50896c2aea84e5fba5d0" have entirely different histories.
bddc2acbc2
...
03b4d55095
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 |
33
Readme.md
33
Readme.md
@ -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
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
有精心整理出兩個我常用的樣式配置:日常工作電腦用、伺服器用
|
|
||||||
|
|
||||||
工作電腦用:
|
|
||||||

|
|
||||||
|
|
||||||
伺服器用:
|
|
||||||

|
|
||||||
|
|
||||||
### 有用到的套件
|
### 有用到的套件
|
||||||
* colorls
|
* colorls
|
||||||
@ -209,11 +201,6 @@ zinit self-update
|
|||||||
zinit update
|
zinit update
|
||||||
```
|
```
|
||||||
|
|
||||||
bash
|
|
||||||
--------------------------------------------------------------------------------
|
|
||||||
雖然我會用到的機會比較少了,幾乎都被zsh取代,但是有部份我管理的伺服器主機不允許安裝zsh,所以bash有時候還會用到,就一起調整了
|
|
||||||

|
|
||||||
|
|
||||||
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,會導致普通的方式會出錯。
|
||||||
|
Loading…
x
Reference in New Issue
Block a user