Add disk and date info to nix-up alias

This commit is contained in:
David Morgan 2022-11-12 20:42:48 +00:00
parent a92ce69d39
commit 635ec783dd
Signed by: djm
GPG Key ID: C171251002C200F2
1 changed files with 1 additions and 1 deletions

View File

@ -53,7 +53,7 @@
pp = "pushbullet push \"Pixel\" link \"\${1}\" \"\${1}\"";
upgrade_emacs = "cp ~/.emacs.d/straight/versions/default.el ~/straight-versions-default-`date \"+%Y-%m-%d-%H%M%S\"`.el && emacs --batch -l \"~/.emacs.d/init.el\" -f \"my/upgrade-packages\"";
diff_emacs = "difft --color always --context 0 $(ls -d1v ~/straight-versions-default-*.el | tail -1) ~/.emacs.d/straight/versions/default.el | grep '\\[9[12]' | egrep -v '(gnu-elpa-mirror|nongnu-elpa|melpa|emacsmirror-mirror)'";
nix-up = "git -C ~/dotfiles pull && doas nix-channel --update && doas nixos-rebuild switch && nix-channel --update && home-manager switch && system-changes-report && hm-changes-report";
nix-up = "git -C ~/dotfiles pull && doas nix-channel --update && doas nixos-rebuild switch && nix-channel --update && home-manager switch && system-changes-report && hm-changes-report && df -h && date";
home-up = "git -C ~/dotfiles pull && nix-channel --update && home-manager switch && hm-changes-report";
# Git log aliases from the omz git plugin