Compare commits

...

6 Commits

Author SHA1 Message Date
Jeremy Dormitzer
db6848c11c Add .zprofile 2021-07-27 11:50:55 -04:00
Jeremy Dormitzer
e9e862bf19 Get rid of pyenv zsh plugin 2021-07-27 11:50:34 -04:00
Jeremy Dormitzer
87f73d3768 Update prodigy services 2021-07-27 11:50:22 -04:00
Jeremy Dormitzer
59c3155d46 Add org-store-link binding 2021-07-27 11:50:12 -04:00
Jeremy Dormitzer
24a89db0ef Fix embark config for new version 2021-07-27 11:50:02 -04:00
Jeremy Dormitzer
9db4107d4a Formatting 2021-07-27 11:49:51 -04:00
5 changed files with 59 additions and 57 deletions

View File

@ -32,34 +32,33 @@
;; Embark adds context actions to completion candidates
(use-package embark
:config
(setq embark-action-indicator
(lambda (map _target)
(which-key--show-keymap "Embark" map nil nil 'no-paging)
#'which-key--hide-popup-ignore-command)
embark-become-indicator embark-action-indicator)
(defun embark-which-key-indicator (map _target)
(which-key--show-keymap "Embark" map nil nil 'no-paging)
#'which-key--hide-popup-ignore-command)
:general
("M-o" #'embark-act)
('normal embark-collect-mode-map
"TAB" #'forward-button
"?" #'describe-mode
"A" #'embark-collect-direct-action-minor-mode
"S" #'tabulated-list-sort
"a" #'embark-act
"b" #'backward-button
"e" #'embark-export
"f" #'forward-button
"gr" #'revert-buffer
"n" #'next-line
"p" #'previous-line
"q" #'quit-window
"s" #'isearch-forward
"v" #'embark-collect-toggle-view
"z" #'embark-collect-zebra-minor-mode
"{" #'tabulated-list-narrow-current-column
"}" #'tabulated-list-widen-current-column
"<backtab>" #'backward-button)
"TAB" #'forward-button
"?" #'describe-mode
"A" #'embark-collect-direct-action-minor-mode
"S" #'tabulated-list-sort
"a" #'embark-act
"b" #'backward-button
"e" #'embark-export
"f" #'forward-button
"gr" #'revert-buffer
"n" #'next-line
"p" #'previous-line
"q" #'quit-window
"s" #'isearch-forward
"v" #'embark-collect-toggle-view
"z" #'embark-collect-zebra-minor-mode
"{" #'tabulated-list-narrow-current-column
"}" #'tabulated-list-widen-current-column
"<backtab>" #'backward-button)
:custom
(embark-prompter 'embark-keymap-prompter))
(embark-prompter 'embark-keymap-prompter)
(embark-indicator 'embark-which-key-indicator))
;; Consult adds a bunch of completing-read based utilities
(use-package consult

View File

@ -46,6 +46,7 @@
:general
(leader-map "oa" #'org-agenda)
(leader-map "oc" #'org-capture)
(leader-map "ol" #'org-store-link)
(normal org-mode-map "<return>" #'org-return))
(use-package evil-org

View File

@ -263,13 +263,13 @@
(prodigy-define-service
:name "priceline-service"
:tags '(lola backend)
:command "~/lola/python_services/priceline/bin/start.sh"
:command "~/lola/python-services/priceline/bin/start.sh"
:args '("web-dev")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:stop-signal 'int
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/priceline/.env"
:env-dir "~/lola/python_services"))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/priceline/.env"
:env-dir "~/lola/python-services"))
(prodigy-define-service
:name "priceline-cars-service"
@ -277,35 +277,35 @@
:command "bash"
:args '("-c"
"priceline_cars/bin/start.sh web-dev >> ~/lola/logs/priceline-cars.log 2>&1")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:inhibit-process-filter t
:file "~/lola/logs/priceline-cars.log"
:stop-signal 'int
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/priceline_cars/.env"
:env-dir "~/lola/python_services"))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/priceline_cars/.env"
:env-dir "~/lola/python-services"))
(prodigy-define-service
:name "threev-service"
:tags '(lola backend)
:command "~/lola/python_services/threev/bin/start.sh"
:command "~/lola/python-services/threev/bin/start.sh"
:args '("web-dev")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:stop-signal 'int
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/threev/.env"
:env-dir "~/lola/python_services"))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/threev/.env"
:env-dir "~/lola/python-services"))
(prodigy-define-service
:name "amd-flight-service"
:tags '(lola backend)
:command "~/lola/python_services/amd_flight/bin/start.sh"
:command "~/lola/python-services/amd_flight/bin/start.sh"
:args '("web-dev")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:stop-signal 'int
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/amd_flight/.env"
:env-dir "~/lola/python_services"))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/amd_flight/.env"
:env-dir "~/lola/python-services"))
(prodigy-define-service
:name "ean-hotels-service"
@ -313,26 +313,26 @@
:command "bash"
:args '("-c"
"ean_hotels/bin/start.sh web-dev >> ~/lola/logs/ean-hotels.log 2>&1")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:inhibit-process-filter t
:file "~/lola/logs/ean-hotels.log"
:stop-signal 'kill
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/ean_hotels/.env"
:env-dir "~/lola/python_services"))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/ean_hotels/.env"
:env-dir "~/lola/python-services"))
(prodigy-define-service
:name "smp-hotels-service"
:command "bash"
:args '("-c"
"smp_hotels/bin/start.sh web >> ~/lola/logs/smp-hotels.log 2>&1")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:inhibit-process-filter t
:file "~/lola/logs/smp-hotels.log"
:stop-signal 'kill
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/smp_hotels/.env"
:env-dir "~/lola/python_services"))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/smp_hotels/.env"
:env-dir "~/lola/python-services"))
(prodigy-define-service
:name "email-template-service"
@ -360,12 +360,12 @@
(prodigy-define-service
:name "spend-service"
:tags '(lola backend)
:command "~/lola/python_services/spend/bin/start.sh"
:command "~/lola/python-services/spend/bin/start.sh"
:args '("web-dev")
:cwd "~/lola/python_services"
:cwd "~/lola/python-services"
:stop-signal 'int
:init-async (python-service-setup "~/lola/python_services/.venv"
"~/lola/python_services/spend/.env"
:env-dir "~/lola/python_services")))
:init-async (python-service-setup "~/lola/python-services/.venv"
"~/lola/python-services/spend/.env"
:env-dir "~/lola/python-services")))
(provide 'init-prodigy)

2
zsh/.zprofile Normal file
View File

@ -0,0 +1,2 @@
export PATH="$PATH:/Users/jdormit/.local/bin"
eval "$(pyenv init --path)"

View File

@ -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 pipenv npm nvm)
plugins=(git direnv pipenv npm nvm)
source $ZSH/oh-my-zsh.sh