From 0558ec0da2b281239063ab77a9750dd32dc95226 Mon Sep 17 00:00:00 2001 From: David Morgan Date: Tue, 11 Oct 2022 16:47:12 +0100 Subject: [PATCH] Update upgrade_emacs alias for straight.el --- nix-conf/home/zsh.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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";