Changes for working on Linux
This commit is contained in:
parent
e1cf1c5d04
commit
ce756d681c
3 changed files with 4 additions and 4 deletions
|
@ -93,7 +93,7 @@ Since =brew link gpg= doesn’t always work, this helper function may find the e
|
||||||
(defun executable (path)
|
(defun executable (path)
|
||||||
"Return PATH if executable, see `file-executable-p'."
|
"Return PATH if executable, see `file-executable-p'."
|
||||||
(let ((epath (first (file-expand-wildcards path))))
|
(let ((epath (first (file-expand-wildcards path))))
|
||||||
(when (file-executable-p epath) epath)))
|
(when (and epath (file-executable-p epath)) epath)))
|
||||||
|
|
||||||
(use-package epa-file
|
(use-package epa-file
|
||||||
:straight (:type built-in)
|
:straight (:type built-in)
|
||||||
|
|
|
@ -2220,6 +2220,7 @@ Dirvish does require the following supporting programs, but I’ve already got t
|
||||||
I’m beginning with dirvish to use the [[https://github.com/alexluigit/dirvish/blob/main/docs/CUSTOMIZING.org][sample configuration]] and change it:
|
I’m beginning with dirvish to use the [[https://github.com/alexluigit/dirvish/blob/main/docs/CUSTOMIZING.org][sample configuration]] and change it:
|
||||||
#+begin_src emacs-lisp
|
#+begin_src emacs-lisp
|
||||||
(use-package dirvish
|
(use-package dirvish
|
||||||
|
:straight (:host github :repo "alexluigit/dirvish")
|
||||||
:init
|
:init
|
||||||
(dirvish-override-dired-mode)
|
(dirvish-override-dired-mode)
|
||||||
|
|
||||||
|
|
|
@ -73,14 +73,13 @@ cat > $HAMACS_DEST/init.el <<EOF
|
||||||
;; Configure straight https://github.com/raxod502/straight.el#getting-started
|
;; Configure straight https://github.com/raxod502/straight.el#getting-started
|
||||||
|
|
||||||
(defvar bootstrap-version)
|
(defvar bootstrap-version)
|
||||||
|
|
||||||
(let ((bootstrap-file
|
(let ((bootstrap-file
|
||||||
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
|
||||||
(bootstrap-version 5))
|
(bootstrap-version 6))
|
||||||
(unless (file-exists-p bootstrap-file)
|
(unless (file-exists-p bootstrap-file)
|
||||||
(with-current-buffer
|
(with-current-buffer
|
||||||
(url-retrieve-synchronously
|
(url-retrieve-synchronously
|
||||||
"https://raw.githubusercontent.com/raxod502/straight.el/develop/install.el"
|
"https://raw.githubusercontent.com/radian-software/straight.el/develop/install.el"
|
||||||
'silent 'inhibit-cookies)
|
'silent 'inhibit-cookies)
|
||||||
(goto-char (point-max))
|
(goto-char (point-max))
|
||||||
(eval-print-last-sexp)))
|
(eval-print-last-sexp)))
|
||||||
|
|
Loading…
Reference in a new issue