summaryrefslogtreecommitdiff
path: root/configs/rcs/emacs.d/config/fcuny-darwin.el
diff options
context:
space:
mode:
Diffstat (limited to 'configs/rcs/emacs.d/config/fcuny-darwin.el')
-rw-r--r--configs/rcs/emacs.d/config/fcuny-darwin.el16
1 files changed, 16 insertions, 0 deletions
diff --git a/configs/rcs/emacs.d/config/fcuny-darwin.el b/configs/rcs/emacs.d/config/fcuny-darwin.el
new file mode 100644
index 0000000..a699cf0
--- /dev/null
+++ b/configs/rcs/emacs.d/config/fcuny-darwin.el
@@ -0,0 +1,16 @@
+(eval-when-compile
+ (require 'use-package))
+
+;; Set default font.
+(set-face-attribute 'default nil :height 160 :weight 'normal :width 'normal)
+
+(use-package exec-path-from-shell
+ :ensure t
+ :config
+ (exec-path-from-shell-initialize)
+ (if (fc/check-work-machine-p)
+ (dolist (var '("GEM_HOME" "GEM_PATH" "MY_RUBY_HOME"))
+ (unless (getenv var)
+ (exec-path-from-shell-copy-env var)))))
+
+(provide 'fcuny-darwin)