about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--nixconf/zsh.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixconf/zsh.nix b/nixconf/zsh.nix
index 6169949..8118eb9 100644
--- a/nixconf/zsh.nix
+++ b/nixconf/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\" --eval \"(my/upgrade-packages)\"";
+      upgrade_emacs = "emacs -Q --batch -L \"~/.emacs.d/lisp/\" -l \"init-packages.el\" -f \"my/upgrade-packages\"";
 
       # Git log aliases from the omz git plugin
       gl = "git pull";