Different folder to copy ~/.todo.cfg for macOS on arm/x86 CPU (#369)

This commit is contained in:
Lawrence Liu
2021-11-19 21:48:16 +08:00
committed by GitHub
parent 2d70a0aadf
commit d0075e4d57

View File

@@ -23,7 +23,12 @@ Download the latest stable [release][release] for use on your desktop or server.
```shell
brew install todo-txt
# For macOS on x86 CPU
cp -n /usr/local/opt/todo-txt/todo.cfg ~/.todo.cfg
# For macOS on arm CPU
cp -n /opt/homebrew/opt/todo-txt/todo.cfg ~/.todo.cfg
```
**Note**: The `-n` flag for `cp` makes sure you do not overwrite an existing file.