Skip to content

Commit 74ac79e

Browse files
committed
Rename "dotfiles" cmd to "dot"
1 parent 417c52f commit 74ac79e

File tree

3 files changed

+7
-8
lines changed

3 files changed

+7
-8
lines changed

README.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -64,8 +64,8 @@ The installation process in the Makefile is tested on every push and every week
6464

6565
## Post-Installation
6666

67-
- `dotfiles dock` (set [Dock items](./macos/dock.sh))
68-
- `dotfiles macos` (set [macOS defaults](./macos/defaults.sh))
67+
- `dot dock` (set [Dock items](./macos/dock.sh))
68+
- `dot macos` (set [macOS defaults](./macos/defaults.sh))
6969
- Mackup
7070
- Log in to Dropbox (and wait until synced)
7171
- `ln -s ~/.config/mackup/.mackup.cfg ~` (until [#632](https://github.com/lra/mackup/pull/632) is fixed)
@@ -74,8 +74,8 @@ The installation process in the Makefile is tested on every push and every week
7474
## The `dotfiles` command
7575

7676
```bash
77-
$ dotfiles help
78-
Usage: dotfiles <command>
77+
$ dot help
78+
Usage: dot <command>
7979

8080
Commands:
8181
clean Clean up caches (brew, npm, gem, rvm)

bin/dotfiles bin/dot

+1-2
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ sub_help () {
88
echo "Usage: $BIN_NAME <command>"
99
echo
1010
echo "Commands:"
11-
echo " clean Clean up caches (brew, nvm, gem)"
11+
echo " clean Clean up caches (brew, gem)"
1212
echo " dock Apply macOS Dock settings"
1313
echo " edit Open dotfiles in IDE ($DOTFILES_IDE) and Git GUI ($DOTFILES_GIT_GUI)"
1414
echo " help This help message"
@@ -40,7 +40,6 @@ sub_update () {
4040
sub_clean () {
4141
brew cleanup
4242
gem cleanup
43-
. "$NVM_DIR/nvm.sh"; nvm cache clear
4443
}
4544

4645
sub_macos () {

test/bin.bats

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
#!/usr/bin/env bats
22

3-
@test "dotfiles" {
4-
run dotfiles
3+
@test "dot" {
4+
run dot
55
[[ $output =~ "Usage" ]]
66
}
77

0 commit comments

Comments
 (0)