direnv everywhere

This commit is contained in:
James Walker 2020-11-17 17:34:43 -05:00
parent 397f21972f
commit b7f3acbf94
Signed by: walkah
GPG Key ID: 3C127179D6086E93
5 changed files with 12 additions and 5 deletions

View File

@ -20,6 +20,7 @@
pinentry pinentry
ripgrep ripgrep
sqlite sqlite
wakatime
((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [ ((emacsPackagesNgGen emacs).emacsWithPackages (epkgs: [
epkgs.vterm epkgs.vterm
])) ]))
@ -34,6 +35,7 @@
oh-my-zsh = { oh-my-zsh = {
enable = true; enable = true;
plugins = [ plugins = [
"direnv"
"docker" "docker"
"git" "git"
"ssh-agent" "ssh-agent"

View File

@ -3,3 +3,4 @@ pipenv
pylint pylint
pytest pytest
pytest-cache pytest-cache
wakatime

View File

@ -31,7 +31,7 @@
;; If you use `org' and don't want your org files in the default location below, ;; If you use `org' and don't want your org files in the default location below,
;; change `org-directory'. It must be set before org loads! ;; change `org-directory'. It must be set before org loads!
(setq org-directory "~/.org" (setq org-directory "~/.org"
org-roam-directory "~/.org/roam" org-roam-directory "~/.org"
deft-directory "~/.org" deft-directory "~/.org"
deft-default-extension "org" deft-default-extension "org"
deft-recursive t) deft-recursive t)
@ -58,8 +58,12 @@
;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how ;; You can also try 'gd' (or 'C-c c d') to jump to their definition and see how
;; they are implemented. ;; they are implemented.
;; ;;
;; (after! wakatime-mode
;;(global-wakatime-mode) (global-wakatime-mode))
(after! pinentry
(pinentry-start))
(add-hook 'js2-mode-hook 'prettier-js-mode) (add-hook 'js2-mode-hook 'prettier-js-mode)
(add-hook 'typescript-mode-hook 'prettier-js-mode) (add-hook 'typescript-mode-hook 'prettier-js-mode)
(add-hook 'web-mode-hook 'prettier-js-mode) (add-hook 'web-mode-hook 'prettier-js-mode)

View File

@ -86,7 +86,7 @@
:tools :tools
;;ansible ;;ansible
;;debugger ; FIXME stepping through code, to help you add bugs ;;debugger ; FIXME stepping through code, to help you add bugs
;;direnv direnv
docker docker
;;editorconfig ; let someone else argue about tabs vs spaces ;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs ;;ein ; tame Jupyter notebooks with emacs

View File

@ -19,7 +19,7 @@ export ZSH_CUSTOM=$HOME/.zsh/custom
# Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*) # Which plugins would you like to load? (plugins can be found in ~/.oh-my-zsh/plugins/*)
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
plugins=(asdf aws gcloud extract command-not-found tmux git github ssh-agent docker docker-compose mix) plugins=(asdf direnv aws gcloud extract command-not-found tmux git github ssh-agent docker docker-compose mix)
# ruby # ruby
if [ -x ruby ]; then if [ -x ruby ]; then