aboutsummaryrefslogtreecommitdiff
path: root/init.el
diff options
context:
space:
mode:
authorbard <bard@bardiel>2023-09-25 18:06:54 -0400
committerbard <bard@bardiel>2023-09-25 18:06:54 -0400
commit73fe0e36f6ad9720d94b161f36fe2dbffcb1c7d8 (patch)
tree1791a4c75edbb9764791c8d22cf11be4874b0cdb /init.el
parentd1124bcb23c3198edadeedd229392670d6a82a1e (diff)
added ghcup and cabal to path
Diffstat (limited to 'init.el')
-rw-r--r--init.el11
1 files changed, 10 insertions, 1 deletions
diff --git a/init.el b/init.el
index 9eacb8e..e3c6e6b 100644
--- a/init.el
+++ b/init.el
@@ -10,6 +10,15 @@
(dolist (config-file my-config-files)
(load config-file))
+;; GHC Path
+(let ((my-ghcup-path (expand-file-name "~/.ghcup/bin")))
+ (setenv "PATH" (concat my-ghcup-path ":" (getenv "PATH")))
+ (add-to-list 'exec-path my-ghcup-path))
+
+(let ((my-cabal-path (expand-file-name "~/.cabal/bin")))
+ (setenv "PATH" (concat my-cabal-path ":" (getenv "PATH")))
+ (add-to-list 'exec-path my-cabal-path))
+
;; Esc key quit prompts
(global-set-key (kbd "<escape>") 'keyboard-escape-quit)
@@ -107,7 +116,7 @@
;; Your init file should contain only one such instance.
;; If there is more than one, they won't work right.
'(package-selected-packages
- '(haskell-mode clojure-snippets cider clojure-mode mixed-pitch tao-theme gruber-darker vterm yasnippet-snippets which-key vertico use-package toc-org projectile pdf-tools org-roam org-cliplink orderless olivetti multiple-cursors marginalia magit hl-todo expand-region ef-themes dashboard counsel company)))
+ '(emms gruber-darker-theme haskell-mode clojure-snippets cider clojure-mode mixed-pitch tao-theme gruber-darker vterm yasnippet-snippets which-key vertico use-package toc-org projectile pdf-tools org-roam org-cliplink orderless olivetti multiple-cursors marginalia magit hl-todo expand-region ef-themes dashboard counsel company)))
(custom-set-faces
;; custom-set-faces was added by Custom.
;; If you edit it by hand, you could mess it up, so be careful.