Correct bin/hey command table

And outdated reference to script's old name.
This commit is contained in:
Henrik Lissner 2020-10-11 01:37:01 -04:00
parent 344ed305c5
commit f302621346
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
2 changed files with 10 additions and 10 deletions

View file

@ -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

View file

@ -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)