Remove references to old script name

This commit is contained in:
Henrik Lissner 2020-10-16 05:49:47 -04:00
parent cc19e3cb9e
commit 475c3132ec
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395

34
bin/hey
View file

@ -5,24 +5,24 @@
# program with simpler, more intuitive commands. This script is a rudimentary # program with simpler, more intuitive commands. This script is a rudimentary
# attempt at giving me that. # attempt at giving me that.
# #
# dots cd|check -> nix flake check $DOTFILES # hey cd|check -> nix flake check $DOTFILES
# dots sh|show -> nix flake show $DOTFILES # hey sh|show -> nix flake show $DOTFILES
# dots u|update -> nix flake update --recreate-lock-file $DOTFILES # hey u|update -> nix flake update --recreate-lock-file $DOTFILES
# dots re|rebuild -> nixos-rebuild --flake $DOTFILES#$HOSTNAME ${1:-build} # hey re|rebuild -> nixos-rebuild --flake $DOTFILES#$HOSTNAME ${1:-build}
# dots rollback -> dots rebuild --rollback switch # hey rollback -> hey rebuild --rollback switch
# dots s|search -> nix search nixpkgs $@ # hey s|search -> nix search nixpkgs $@
# dots vm -> dots rebuild vm # hey vm -> hey rebuild vm
# dots up|upgrade -> dots update && dots rebuild switch # hey up|upgrade -> hey update && hey rebuild switch
# dots gc -> GC user profile, optimise nix store # hey gc -> GC user profile, optimise nix store
# sudo dots gc -> GC, optimise nix store, & delete old boot entries # sudo hey gc -> GC, optimise nix store, & delete old boot entries
# dots push REMOTE -> push flake to remote (over SSH) and rebuild remotely # hey push REMOTE -> push flake to remote (over SSH) and rebuild remotely
# dots gen|generations -> explore, manage, diff across generations (WIP) # hey gen|generations -> explore, manage, diff across generations (WIP)
# #
# dots (with no sub-command) can also be used as an alternative to nix-env: # hey (with no sub-command) can also be used as an alternative to nix-env:
# #
# dots -q # hey -q
# dots -iA nixos.htop # hey -iA nixos.htop
# dots -e htop # hey -e htop
set -e set -e
REMOTE=${REMOTE:-"~/.config/dotfiles"} REMOTE=${REMOTE:-"~/.config/dotfiles"}
@ -34,7 +34,7 @@ function main {
### Helpers ### Helpers
function _usage { function _usage {
echo "Usage: dots COMMAND [FLAGS...] [ARGS...]" echo "Usage: hey COMMAND [FLAGS...] [ARGS...]"
echo echo
echo "Available commands:" echo "Available commands:"
echo " init TODO" echo " init TODO"