Fix undefined function spacemacs-docker//load-env when SPC f e R

This commit is contained in:
syl20bnr 2019-02-09 15:22:48 -05:00
parent 170bb98cb5
commit 66f7b9dda1
2 changed files with 2 additions and 3 deletions

View File

@ -35,3 +35,5 @@
;; Start spacemacs in the workspace.
(setq default-directory
(concat (getenv "WORKSPACE") "/"))
;; apply env. vars. expected by Dockers at the end
(add-hook 'spacemacs-post-user-config-hook 'spacemacs-docker//load-env)

View File

@ -10,6 +10,3 @@
;;; License: GPLv3
(configuration-layer/declare-layers '(spacemacs))
;; TODO: Find a better place for it. Also better hook to allow customization.
(add-hook 'spacemacs-post-user-config-hook 'spacemacs-docker//load-env)