diff options
author | David Morgan <djm_uk@protonmail.com> | 2022-11-12 16:31:11 +0000 |
---|---|---|
committer | David Morgan <djm_uk@protonmail.com> | 2022-11-12 16:31:11 +0000 |
commit | ca4e381eb7a5100a57219c37cd1a3268d5031ed3 (patch) | |
tree | 34e959249df4c6115817a9e074252ee5e95626e5 /nix-conf/home | |
parent | 011c3d5f78e8a1afc6e02ae1ae40b786cf9ab34f (diff) | |
download | dotfiles-ca4e381eb7a5100a57219c37cd1a3268d5031ed3.tar.gz |
Fix upgrade_emacs alias
Diffstat (limited to 'nix-conf/home')
-rw-r--r-- | nix-conf/home/includes/zsh.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-conf/home/includes/zsh.nix b/nix-conf/home/includes/zsh.nix index 683cbfb..f08b299 100644 --- a/nix-conf/home/includes/zsh.nix +++ b/nix-conf/home/includes/zsh.nix @@ -51,7 +51,7 @@ mv = "mv -iv"; mkdir = "mkdir -v"; 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\""; + 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"; home-up = "git -C ~/dotfiles pull && nix-channel --update && home-manager switch && hm-changes-report"; |