fix(lib): missing bin/doom error on doom/reload

doom/reload quotes `doom-bin`, but if doom-bin uses a tilde instead of
an absolute path, the quoting means it won't be expanded to $HOME,
causing "no such file or directory" errors when trying to execute it.

Fix: #6603
This commit is contained in:
Henrik Lissner 2022-07-28 22:25:19 +02:00
parent a22cd75839
commit 35a89bdfa6
No known key found for this signature in database
GPG key ID: B60957CA074D39A3

View file

@ -1,7 +1,7 @@
;;; core/autoload/config.el -*- lexical-binding: t; -*- ;;; core/autoload/config.el -*- lexical-binding: t; -*-
(defvar doom-bin-dir (concat doom-emacs-dir "bin/")) (defvar doom-bin-dir (expand-file-name "bin/" doom-emacs-dir))
(defvar doom-bin (concat doom-bin-dir "doom")) (defvar doom-bin (expand-file-name "doom" doom-bin-dir))
;;;###autoload ;;;###autoload
(defvar doom-reloading-p nil (defvar doom-reloading-p nil