Add tools/direnv module

This commit is contained in:
Henrik Lissner 2019-04-05 03:16:37 -04:00
parent dfc21e1157
commit cb5abcea0e
No known key found for this signature in database
GPG key ID: 5F6C0EA160557395
4 changed files with 16 additions and 0 deletions

View file

@ -61,6 +61,7 @@
:tools
;;ansible
;;direnv
;;docker
;;editorconfig ; let someone else argue about tabs vs spaces
;;ein ; tame Jupyter notebooks with emacs

View file

@ -0,0 +1,7 @@
;;; tools/direnv/config.el -*- lexical-binding: t; -*-
(def-package! direnv
:after-call (after-find-file dired-initial-position-hook)
:config
(when (executable-find "direnv")
(direnv-mode +1)))

View file

@ -0,0 +1,4 @@
;;; tools/direnv/doctor.el -*- lexical-binding: t; -*-
(unless (executable-find "direnv")
(warn! "Couldn't find direnv executable"))

View file

@ -0,0 +1,4 @@
;; -*- no-byte-compile: t; -*-
;;; tools/direnv/packages.el
(package! direnv)