diff --git a/emacs/init.org b/emacs/init.org index 5c99ec0..8f7d869 100755 --- a/emacs/init.org +++ b/emacs/init.org @@ -4448,6 +4448,15 @@ Some functions to make my day job easier. (call-with-env-from-file env-file done)) done)))) + (defun call-with-lola-env (callback) + (let ((process-environment + (cons (format "LOLA_ENV=%s" + (completing-read + "Environment: " + '("local" "development" "staging"))) + process-environment))) + (funcall callback))) + (prodigy-define-tag :name 'lola) @@ -4531,15 +4540,6 @@ Some functions to make my day job easier. :init-async (python-service-setup "secrets" "~/lola/secrets/.env")) - (defun call-with-lola-env (callback) - (let ((process-environment - (cons (format "LOLA_ENV=%s" - (completing-read - "Environment: " - '("local" "development" "staging"))) - process-environment))) - (funcall callback))) - (prodigy-define-service :name "lola-desktop" :tags '(lola frontend)