Compare commits
2 Commits
8235d8d0ae
...
7ddd20bf72
Author | SHA1 | Date | |
---|---|---|---|
|
7ddd20bf72 | ||
|
3d10c8f159 |
@ -1,5 +1,9 @@
|
||||
;; -*- lexical-binding: t; -*-
|
||||
|
||||
(use-package elisp-mode
|
||||
:straight (:type built-in)
|
||||
:general
|
||||
(emacs-lisp-mode-map "C-c C-c" #'eval-defun
|
||||
"C-c C-k" #'eval-buffer))
|
||||
|
||||
(provide 'init-elisp)
|
||||
|
@ -150,7 +150,7 @@
|
||||
:cwd "~/lola/core-services/lola_server"
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
:init-async (python-service-setup "~/lola/core-services/.venv"
|
||||
"~/lola/core-services/lola_server/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
@ -161,7 +161,7 @@
|
||||
:cwd "~/lola/core-services/lola_server"
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
:init-async (python-service-setup "~/lola/core-services/.venv"
|
||||
"~/lola/core-services/lola_server/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
@ -176,7 +176,7 @@
|
||||
:inhibit-process-filter t
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
:init-async (python-service-setup "~/lola/core-services/.venv"
|
||||
"~/lola/core-services/travel_service/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
@ -195,7 +195,7 @@
|
||||
:cwd "~/lola/core-services/travel_service"
|
||||
:stop-signal 'int
|
||||
:truncate-output t
|
||||
:init-async (python-service-setup "~/.pyenv/versions/core-services"
|
||||
:init-async (python-service-setup "~/lola/core-services/.venv"
|
||||
"~/lola/core-services/travel_service/.env"))
|
||||
|
||||
(prodigy-define-service
|
||||
|
@ -65,6 +65,11 @@
|
||||
:custom
|
||||
(pyenv-show-active-python-in-modeline nil))
|
||||
|
||||
;; A pipenv integration
|
||||
(use-package pipenv
|
||||
:defer 2
|
||||
:hook (python-mode . pipenv-mode))
|
||||
|
||||
;; LSP using Microsoft's pyright language server
|
||||
(use-package lsp-pyright
|
||||
:hook (python-mode . (lambda ()
|
||||
|
@ -19,3 +19,6 @@ if [ -d /Applications/Postgres.app ];
|
||||
then
|
||||
path=(/Applications/Postgres.app/Contents/Versions/latest/bin $path)
|
||||
fi
|
||||
|
||||
export PIPENV_MAX_DEPTH=20
|
||||
export PIPENV_VENV_IN_PROJECT=yes
|
||||
|
@ -66,7 +66,7 @@ ZSH_THEME="typewritten"
|
||||
# Custom plugins may be added to $ZSH_CUSTOM/plugins/
|
||||
# Example format: plugins=(rails git textmate ruby lighthouse)
|
||||
# Add wisely, as too many plugins slow down shell startup.
|
||||
plugins=(git direnv pyenv npm nvm)
|
||||
plugins=(git direnv pyenv pipenv npm nvm)
|
||||
|
||||
source $ZSH/oh-my-zsh.sh
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user