diff --git a/README.md b/README.md index 88790718..df0c9c21 100644 --- a/README.md +++ b/README.md @@ -46,15 +46,15 @@ Behold. `bin/hey`. -| Command | Description | -|----------------------|-----------------------------------------------------------------| -| `hey rebuild` | Rebuild this flake | -| `hey upgrade` | Update flake lockfile and switch to it | -| `hey rollback` | Roll back to previous system generation | -| `hey gc` | Runs `nix-collect-garbage -d`. Use sudo to clean system profile | -| `hey deploy REMOTE` | Deploy these dotfiles to REMOTE (over ssh) | -| `hey check` | Run tests and checks for this flake | -| `hey show` | Show flake outputs of this repo | +| Command | Description | +|--------------------------|-----------------------------------------------------------------| +| `hey rebuild` (`hey re`) | Rebuild this flake | +| `hey upgrade` (`hey up`) | Update flake lockfile and switch to it | +| `hey rollback` | Roll back to previous system generation | +| `hey gc` | Runs `nix-collect-garbage -d`. Use sudo to clean system profile | +| `hey push REMOTE` | Deploy these dotfiles to REMOTE (over ssh) | +| `hey check` | Run tests and checks for this flake | +| `hey show` | Show flake outputs of this repo | ## Frequently asked questions diff --git a/bin/hey b/bin/hey index e1d8ff90..ac50b851 100755 --- a/bin/hey +++ b/bin/hey @@ -100,7 +100,7 @@ function main { gc) _gc "$@" ;; push) rsync -avzh ./ "$1:$REMOTE/" - ssh -t -l "$USERNAME" "$1" "$REMOTE/dots re" "${@[2,-1]}" + ssh -t -l "$USERNAME" "$1" "$REMOTE/hey re" "${@[2,-1]}" ;; gen|generations)