From f3026213460f7ae50c3d21bd38ae069e1f43cdf2 Mon Sep 17 00:00:00 2001 From: Henrik Lissner Date: Sun, 11 Oct 2020 01:37:01 -0400 Subject: [PATCH] Correct bin/hey command table And outdated reference to script's old name. --- README.md | 18 +++++++++--------- bin/hey | 2 +- 2 files changed, 10 insertions(+), 10 deletions(-) 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)