Skip to content

Commit 4129dad

Browse files
reishokuinkarkat
authored andcommitted
README.md: replace hardcoded path to command substitution
Signed-off-by: KOSHIKAWA Kenichi <reishoku.misc@pm.me>
1 parent 85f14a4 commit 4129dad

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

README.md

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,7 @@ Download the latest stable [release][release] for use on your desktop or server.
2424
```shell
2525
brew install todo-txt
2626

27-
# For macOS on x86 CPU
28-
cp -n /usr/local/opt/todo-txt/todo.cfg ~/.todo.cfg
29-
30-
# For macOS on arm CPU
31-
cp -n /opt/homebrew/opt/todo-txt/todo.cfg ~/.todo.cfg
27+
cp -n $(brew --prefix)/opt/todo-txt/todo.cfg ~/.todo.cfg
3228
```
3329

3430
**Note**: The `-n` flag for `cp` makes sure you do not overwrite an existing file.

0 commit comments

Comments
 (0)