view .emacs @ 526:852565046ed0 default tip

zsh: fidget with screen/tmux message This should speed things up very slightly by avoiding some `grep` action in the common case of no detached screens/tmuxes.
author Augie Fackler <raf@durin42.com>
date Mon, 14 Nov 2022 11:02:35 -0500
parents 6e5260ca85f2
children
line wrap: on
line source

;; Augie Fackler's .emacs file
; Places I've stolen from:
;  Karl Fogel: http://svn.red-bean.com/repos/kfogel/trunk
;  Dave Anderson: https://ssl.natulte.net/hg/dotfiles/
;  Emacs Starter Kit: http://github.com/technomancy/emacs-starter-kit

; Start the server so that emacsclient will work

;; Added by Package.el.  This must come before configurations of
;; installed packages.  Don't delete this line.  If you don't want it,
;; just comment it out by adding a semicolon to the start of the line.
;; You may delete these explanatory comments.
(package-initialize)

(server-start)

(setq custom-file "~/.elisp/settings/01.custom.el")

(let ((settings-files (concat (getenv "HOME") "/.elisp/settings")))
  (mapc (lambda (p) (load (concat settings-files "/" p)))
        (directory-files settings-files nil "^[0-9].*el$")))

(if (file-regular-p (expand-file-name (concat (getenv "HOME")
                                              "/.emacs-machine.el")))
    (load (expand-file-name "~/.emacs-machine.el")))