From 46c0d50cef5c5832fe534ac1e621d583701a3f52 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Amy=20de=20Buitl=C3=A9ir?= Date: Tue, 13 Jun 2023 17:04:42 +0100 Subject: [PATCH] rename files --- source/shebangs/{_include.adoc0 => main.adoc0} | 2 +- source/shell-recipes/{_include.adoc0 => main.adoc0} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename source/shebangs/{_include.adoc0 => main.adoc0} (92%) rename source/shell-recipes/{_include.adoc0 => main.adoc0} (97%) diff --git a/source/shebangs/_include.adoc0 b/source/shebangs/main.adoc0 similarity index 92% rename from source/shebangs/_include.adoc0 rename to source/shebangs/main.adoc0 index a01cbe0..0c918f4 100644 --- a/source/shebangs/_include.adoc0 +++ b/source/shebangs/main.adoc0 @@ -5,7 +5,7 @@ the necessary dependencies. This is particularly convenient for standalone scripts because you don’t need to create a repo and write a separate `flake.nix`. -The script should start with two ``shebang'' (`#!`) commands. The first +The script should start with two "`shebang`" (`#!`) commands. The first should invoke `nix-shell`. The second should declares the scrpt interpreter and any dependencies. Here are some examples. diff --git a/source/shell-recipes/_include.adoc0 b/source/shell-recipes/main.adoc0 similarity index 97% rename from source/shell-recipes/_include.adoc0 rename to source/shell-recipes/main.adoc0 index 8fa1530..855cfb6 100644 --- a/source/shell-recipes/_include.adoc0 +++ b/source/shell-recipes/main.adoc0 @@ -96,7 +96,7 @@ include::0350-shell-haskell-local-deps.nix[] === Shell with an environment variable set -This shell has the environment variable FOO set to ``bar'' +This shell has the environment variable FOO set to "`bar`" [source,nix,linenums] ....