summary refs log tree commit diff stats
path: root/.envrc
diff options
context:
space:
mode:
authorsils <sils@sils.li>2023-05-05 17:53:35 +0200
committersils <sils@sils.li>2023-05-05 17:53:35 +0200
commit9c5aceaba5d00d93ccd67bcd203b9695e8fa4cc6 (patch)
treed8b330c1bbadae24c65f51cc104d849b8fb12cb7 /.envrc
parentFeat(flake.nix): Add devShell output (diff)
downloadnix-config-9c5aceaba5d00d93ccd67bcd203b9695e8fa4cc6.tar.gz
nix-config-9c5aceaba5d00d93ccd67bcd203b9695e8fa4cc6.zip
Feat(direnv): Use direnv
Diffstat (limited to '')
-rw-r--r--.envrc5
1 files changed, 5 insertions, 0 deletions
diff --git a/.envrc b/.envrc
new file mode 100644
index 0000000..a9c7e4e
--- /dev/null
+++ b/.envrc
@@ -0,0 +1,5 @@
+use flake
+if on_git_branch; then
+  echo && git status --short --branch &&
+  echo && git fetch --verbose
+fi