Add "updown" alias to zsh.
Basically just do all the stuff I usually do before shutting down, and then shutdown.
This commit is contained in:
parent
a865ec1225
commit
107e7bf688
|
@ -18,6 +18,7 @@
|
||||||
nixos-boot = "sudo nixos-rebuild boot";
|
nixos-boot = "sudo nixos-rebuild boot";
|
||||||
nixos-switch = "sudo nixos-rebuild switch";
|
nixos-switch = "sudo nixos-rebuild switch";
|
||||||
gsa = "git-sync-all";
|
gsa = "git-sync-all";
|
||||||
|
updown = "sudo nixos-rebuild boot && git-sync-all && sudo shutdown now";
|
||||||
};
|
};
|
||||||
oh-my-zsh = {
|
oh-my-zsh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
Loading…
Reference in a new issue