1
0

shell-aliases.nix 709 B

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