about summary refs log tree commit diff
path: root/configs/shared/.emacs.d/init.el
diff options
context:
space:
mode:
Diffstat (limited to 'configs/shared/.emacs.d/init.el')
-rw-r--r--configs/shared/.emacs.d/init.el10
1 files changed, 8 insertions, 2 deletions
diff --git a/configs/shared/.emacs.d/init.el b/configs/shared/.emacs.d/init.el
index e07157c70f3f..c02b56f3f864 100644
--- a/configs/shared/.emacs.d/init.el
+++ b/configs/shared/.emacs.d/init.el
@@ -1,4 +1,8 @@
 (require 'wpc-package "~/.emacs.d/wpc/packages/wpc-package.el")
+(require 'f)
+(setq user-init-file (or load-file-name (buffer-file-name)))
+(setq user-emacs-directory (f-dirname user-init-file))
+;; TODO: Troubleshoot broken terminator.
 
 ;; load order is intentional
 (require 'constants)
@@ -11,7 +15,7 @@
 (require 'kaomoji)
 
 ;; Google
-(require 'google-stuff)
+;; (require 'google-stuff)
 
 ;; Laptop XF-functionality
 (require 'pulse-audio)
@@ -41,7 +45,7 @@
 (require 'wpc-lisp)
 (require 'wpc-haskell)
 (require 'wpc-reasonml)
-(require 'wpc-ocaml)
+;; (require 'wpc-ocaml)
 (require 'wpc-elixir)
 (require 'wpc-nix)
 (require 'wpc-rust)
@@ -50,3 +54,5 @@
 (require 'wpc-javascript)
 (require 'wpc-java)
 (require 'wpc-prolog)
+
+(run-hooks 'after-init-hook)