shell-aliases.nix 691 B

12345678910111213141516171819202122
  1. {
  2. "..." = "cd ../..";
  3. "...." = "cd ../../..";
  4. # Git stuff
  5. g = "git";
  6. gco = "git checkout ";
  7. gcob = "git checkout -b ";
  8. ghic = "gh issue create --body '' ";
  9. # nix stuff
  10. hmb = "nix run github:nix-community/home-manager -- build --flake .#(whoami)@(hostname)";
  11. hms = "nix run github:nix-community/home-manager -- switch --flake .#(whoami)@(hostname)";
  12. home-manager = "nix run github:nix-community/home-manager --";
  13. drb = "nix run github:lnl7/nix-darwin -- build --flake .#(hostname)";
  14. drs = "nix run github:lnl7/nix-darwin -- switch --flake .#(hostname)";
  15. nrb = "nixos-rebuild build --flake .#(hostname)";
  16. nrs = "nixos-rebuild switch --flake .#(hostname)";
  17. }