about summary refs log tree commit diff stats
path: root/templates
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 17:51:47 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-10-04 17:51:47 +0200
commit929d61610be078007cc55da3612c3e17840dfa9c (patch)
treeac943c4ca7a8654ad6efc66aa2ecfd5592ccf8ed /templates
parentfix(common/init): Correctly quote inputted text (diff)
downloadflake-templates-929d61610be078007cc55da3612c3e17840dfa9c.tar.gz
flake-templates-929d61610be078007cc55da3612c3e17840dfa9c.zip
fix(common/.envrc): Actually use and set a shebang
Diffstat (limited to 'templates')
l---------[-rw-r--r--]templates/awk/.envrc10
l---------[-rw-r--r--]templates/c/.envrc11
l---------[-rw-r--r--]templates/rust/.envrc12
l---------[-rw-r--r--]templates/shell/.envrc10
4 files changed, 4 insertions, 39 deletions
diff --git a/templates/awk/.envrc b/templates/awk/.envrc
index 3bc1085..493f948 100644..120000
--- a/templates/awk/.envrc
+++ b/templates/awk/.envrc
@@ -1,9 +1 @@
-use flake || use nix
-watch_file flake.nix
-
-PATH_add ./scripts
-
-if on_git_branch; then
-  echo && git status --short --branch &&
-  echo && git fetch --verbose
-fi
+../../common/.envrc
\ No newline at end of file
diff --git a/templates/c/.envrc b/templates/c/.envrc
index 8f9d5d7..493f948 100644..120000
--- a/templates/c/.envrc
+++ b/templates/c/.envrc
@@ -1,10 +1 @@
-use flake || use nix
-watch_file flake.nix
-
-PATH_add ./target
-PATH_add ./scripts
-
-if on_git_branch; then
-  echo && git status --short --branch &&
-  echo && git fetch --verbose
-fi
+../../common/.envrc
\ No newline at end of file
diff --git a/templates/rust/.envrc b/templates/rust/.envrc
index c8c5665..493f948 100644..120000
--- a/templates/rust/.envrc
+++ b/templates/rust/.envrc
@@ -1,11 +1 @@
-use flake || use nix
-watch_file flake.nix
-
-PATH_add ./target/debug
-PATH_add ./target/release
-PATH_add ./scripts
-
-if on_git_branch; then
-  echo && git status --short --branch &&
-  echo && git fetch --verbose
-fi
+../../common/.envrc
\ No newline at end of file
diff --git a/templates/shell/.envrc b/templates/shell/.envrc
index 3bc1085..493f948 100644..120000
--- a/templates/shell/.envrc
+++ b/templates/shell/.envrc
@@ -1,9 +1 @@
-use flake || use nix
-watch_file flake.nix
-
-PATH_add ./scripts
-
-if on_git_branch; then
-  echo && git status --short --branch &&
-  echo && git fetch --verbose
-fi
+../../common/.envrc
\ No newline at end of file