meta: Add envrc for direnv

Fetch all git remotes automatically when entering the repository.
This commit is contained in:
2022-03-31 03:17:04 +02:00
parent 41b1643a70
commit 4ba60da72c
3 changed files with 6 additions and 0 deletions

3
.gitignore vendored
View File

@@ -27,3 +27,6 @@
/.config/ranger/bookmarks /.config/ranger/bookmarks
/.config/ranger/history /.config/ranger/history
# Ignore symlink to meta/envrc in repo root (created in installation)
/.envrc

1
meta/envrc Normal file
View File

@@ -0,0 +1 @@
git fetch --all

View File

@@ -78,3 +78,5 @@
create: true create: true
glob: true glob: true
path: meta/git/hooks/* path: meta/git/hooks/*
.envrc:
path: meta/envrc