bin/doom: source postscript instead
This way the postscript can refer to the doom script via "$0" and its arguments via "$@" (making it easier for cli commands to rerun the last command).
This commit is contained in:
parent
394a18096e
commit
55b87b3a94
2 changed files with 2 additions and 2 deletions
|
@ -72,7 +72,7 @@ byte-compiled from.")
|
|||
(with-temp-file cache)
|
||||
(if doom-interactive-p t
|
||||
(message "Restarting..." )
|
||||
(doom-cli-execute-lines-after "NOTANGLE=1 \"$@\"")
|
||||
(doom-cli-execute-lines-after "NOTANGLE=1 \"$0\" \"$@\"")
|
||||
(kill-emacs 0))))))
|
||||
|
||||
;;;###autoload
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue