diff options
Diffstat (limited to 'emacs.d/modes')
-rw-r--r-- | emacs.d/modes/cfg-puppet.el | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/emacs.d/modes/cfg-puppet.el b/emacs.d/modes/cfg-puppet.el index d505ffc..e08848d 100644 --- a/emacs.d/modes/cfg-puppet.el +++ b/emacs.d/modes/cfg-puppet.el @@ -1,3 +1,8 @@ +(when (memq window-system '(mac ns x)) + (dolist (var '("GEM_HOME" "MY_RUBY_HOME")) + (unless (getenv var) + (exec-path-from-shell-copy-env var)))) + (use-package puppet-mode :ensure t :mode ("\\.pp$" . puppet-mode) |