aboutsummaryrefslogtreecommitdiff
path: root/users/programs/emacs/init.el
blob: 973e4ad3fc2ebdabb0fdeb551394b97ffd1cf04e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
;;; init.el --- This is where all emacs start. -*- lexical-binding: t -*-

;;; Commentary:

;;; Code:

(add-to-list 'load-path (concat user-emacs-directory (convert-standard-filename "site-lisp/")))

(use-package exec-path-from-shell
  :custom
  (exec-path-from-shell-variables '("PATH" "MANPATH" "GOPATH" "GOBIN" "ASPELL_CONF"))
  :init (exec-path-from-shell-initialize))

(require 'init-base)
(require 'init-ui)
(require 'init-completion)
(require 'init-text)
(require 'init-programming)
(require 'init-llm)

(use-package server
  :config
  (setq server-client-instructions nil)
  (unless (server-running-p)
    (server-start)))

(use-package eshell
  :commands (eshell eshell-command)
  :bind (("C-r" . consult-history))
  :custom
  (eshell-hist-ignoredups t)
  (eshell-history-size 50000)
  (eshell-ls-dired-initial-args '("-h"))
  (eshell-ls-initial-args "-h")
  (eshell-ls-exclude-regexp "~\\'")
  (eshell-save-history-on-exit t)
  (eshell-stringify-t nil)
  (eshell-term-name "ansi"))

;;; init.el ends here
;; byte-compile-warnings: (not docstrings lexical noruntime)
;; End: