diff --git a/README.md b/README.md index daca891..ef37c54 100644 --- a/README.md +++ b/README.md @@ -22,4 +22,4 @@ go build ./cmd/dot - [ ] Support compare directory - [ ] Switch to use lua for neovim config -- [ ] Add diff command +- [x] Add diff command diff --git a/internal/cli/app.go b/internal/cli/app.go index 1811c2a..90c9dab 100644 --- a/internal/cli/app.go +++ b/internal/cli/app.go @@ -41,7 +41,7 @@ var ( installAliases = []string{"i"} updateAliases = []string{"u"} cleanAliases = []string{"c"} - compareAliases = []string{"cmp"} + compareAliases = []string{"cmp", "diff"} ) // denyOSes contains OS which is not supported