diff options
author | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-01 12:49:35 +0100 |
---|---|---|
committer | Benedikt Peetz <benedikt.peetz@b-peetz.de> | 2024-12-01 12:49:57 +0100 |
commit | bb99ed9aedfd91257a1d3a1755006b4700d7f828 (patch) | |
tree | e248278026ed3caa06108cb13fd3c771186e3c37 | |
parent | build(flake): Update (diff) | |
download | flake-templates-bb99ed9aedfd91257a1d3a1755006b4700d7f828.tar.gz flake-templates-bb99ed9aedfd91257a1d3a1755006b4700d7f828.zip |
build(.envrc): Denote the executing shell
Diffstat (limited to '')
-rw-r--r-- | .envrc | 8 | ||||
-rw-r--r-- | unmaintained_templates/markdown/.envrc | 4 | ||||
-rw-r--r-- | unmaintained_templates/python/.envrc | 6 |
3 files changed, 15 insertions, 3 deletions
diff --git a/.envrc b/.envrc index a9c7e4e..12454dd 100644 --- a/.envrc +++ b/.envrc @@ -1,5 +1,9 @@ +#!/usr/bin/env sh + use flake if on_git_branch; then - echo && git status --short --branch && - echo && git fetch --verbose + echo && git status --short --branch && + echo && git fetch --verbose fi + +# vim: ft=sh diff --git a/unmaintained_templates/markdown/.envrc b/unmaintained_templates/markdown/.envrc index 3550a30..60ea3da 100644 --- a/unmaintained_templates/markdown/.envrc +++ b/unmaintained_templates/markdown/.envrc @@ -1 +1,5 @@ +#!/usr/bin/env sh + use flake + +# vim: ft=sh diff --git a/unmaintained_templates/python/.envrc b/unmaintained_templates/python/.envrc index 958a322..3f08217 100644 --- a/unmaintained_templates/python/.envrc +++ b/unmaintained_templates/python/.envrc @@ -1,2 +1,6 @@ +#!/usr/bin/env sh + nix_direnv_watch_file requirements.txt -use flake \ No newline at end of file +use flake + +# vim: ft=sh |