Changes for working on Linux

This commit is contained in:
Howard Abrams 2023-03-23 22:18:03 -07:00
parent e1cf1c5d04
commit ce756d681c
3 changed files with 4 additions and 4 deletions

View file

@ -93,7 +93,7 @@ Since =brew link gpg= doesnt always work, this helper function may find the e
(defun executable (path)
"Return PATH if executable, see `file-executable-p'."
(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
:straight (:type built-in)

View file

@ -2220,6 +2220,7 @@ Dirvish does require the following supporting programs, but Ive already got t
Im 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
(use-package dirvish
:straight (:host github :repo "alexluigit/dirvish")
:init
(dirvish-override-dired-mode)

View file

@ -73,14 +73,13 @@ cat > $HAMACS_DEST/init.el <<EOF
;; Configure straight https://github.com/raxod502/straight.el#getting-started
(defvar bootstrap-version)
(let ((bootstrap-file
(expand-file-name "straight/repos/straight.el/bootstrap.el" user-emacs-directory))
(bootstrap-version 5))
(bootstrap-version 6))
(unless (file-exists-p bootstrap-file)
(with-current-buffer
(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)
(goto-char (point-max))
(eval-print-last-sexp)))