doc readme: add watchman
This commit is contained in:
parent
beffd4a489
commit
979020634f
13
Readme.md
13
Readme.md
@ -203,6 +203,19 @@ chezmoi chattr +template ~/.config/iterm2/com.googlecode.iterm2.plist
|
|||||||
chezmoi apply
|
chezmoi apply
|
||||||
```
|
```
|
||||||
|
|
||||||
|
### 開啟watchman Live Apply
|
||||||
|
```
|
||||||
|
CHEZMOI_SOURCE_PATH="$(chezmoi source-path)"
|
||||||
|
watchman watch "${CHEZMOI_SOURCE_PATH}"
|
||||||
|
|
||||||
|
watchman -j <<EOT
|
||||||
|
["trigger", "${CHEZMOI_SOURCE_PATH}", {
|
||||||
|
"name": "chezmoi-apply",
|
||||||
|
"command": ["chezmoi", "apply", "--force"]
|
||||||
|
}]
|
||||||
|
EOT
|
||||||
|
```
|
||||||
|
|
||||||
|
|
||||||
相關工具參考連結
|
相關工具參考連結
|
||||||
--------------------------------------------------------------------------------
|
--------------------------------------------------------------------------------
|
||||||
|
Loading…
x
Reference in New Issue
Block a user