about summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorDavid Morgan <djm_uk@protonmail.com>2022-10-11 16:47:12 +0100
committerDavid Morgan <djm_uk@protonmail.com>2022-10-11 16:47:12 +0100
commit0558ec0da2b281239063ab77a9750dd32dc95226 (patch)
tree1a03efa7d38b091c848d7d519efe9b21fa3a9075
parentf8189c6c2d824e129792875cce7efe8ab9374537 (diff)
downloaddotfiles-0558ec0da2b281239063ab77a9750dd32dc95226.tar.gz
Update upgrade_emacs alias for straight.el
-rw-r--r--nix-conf/home/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nix-conf/home/zsh.nix b/nix-conf/home/zsh.nix
index 1d9b9ba..ab3e3f9 100644
--- a/nix-conf/home/zsh.nix
+++ b/nix-conf/home/zsh.nix
@@ -49,7 +49,7 @@
       mv = "mv -iv";
       mkdir = "mkdir -v";
       pp = "pushbullet push \"Pixel\" link \"\${1}\" \"\${1}\"";
-      upgrade_emacs = "emacs -Q --batch -L \"~/.emacs.d/lisp/\" -l \"init-packages.el\" -f \"my/upgrade-packages\"";
+      upgrade_emacs = "cp /Users/djm/.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\"";
 
       # Git log aliases from the omz git plugin
       gl = "git pull";