From c78b5718e8821d4bd6ef96a6ef84078b1857fe21 Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Tue, 7 May 2024 17:50:48 +0300 Subject: [PATCH] add submodule shell-things for the resolv.conf scripts (symlinked) --- .editorconfig | 4 +++- .gitignore | 3 +++ .gitmodules | 7 +++++++ README.md | 8 +++++--- resolv.conf-generate.bash | 1 + submodules/shell-things | 1 + systemd-resolv.conf-generate.bash | 1 + systemd-resolv.conf-restore.bash | 1 + 8 files changed, 22 insertions(+), 4 deletions(-) create mode 100644 .gitmodules create mode 120000 resolv.conf-generate.bash create mode 160000 submodules/shell-things create mode 120000 systemd-resolv.conf-generate.bash create mode 120000 systemd-resolv.conf-restore.bash diff --git a/.editorconfig b/.editorconfig index 3bd070e..376eddc 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,4 +1,4 @@ -# SPDX-FileCopyrightText: 2023 Aminda Suomalainen +# SPDX-FileCopyrightText: 2024 Aminda Suomalainen # # SPDX-License-Identifier: CC0-1.0 @@ -14,6 +14,8 @@ indent_size = tab [*.{markdown,md}] trim_trailing_whitespace = false +indent_style = space +indent_size = 2 [*.{cff,yaml,yml}] indent_style = space diff --git a/.gitignore b/.gitignore index 00f0af6..83c50a9 100644 --- a/.gitignore +++ b/.gitignore @@ -16,3 +16,6 @@ node_modules/ # symlinks, paws off gnupg ssh +resolv.conf-generate.bash +systemd-resolv.conf-generate.bash +systemd-resolv.conf-restore.bash diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..84c3951 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,7 @@ +# SPDX-FileCopyrightText: 2024 Aminda Suomalainen +# +# SPDX-License-Identifier: CC0-1.0 + +[submodule "submodules/shell-things"] + path = submodules/shell-things + url = https://gitea.blesmrt.net/Mikaela/shell-things.git diff --git a/README.md b/README.md index b5085e4..6c53b39 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,5 @@ @@ -9,5 +9,7 @@ SPDX-License-Identifier: CC0-1.0 Dotfiles for user accounts that are not mine, such as single purpouse ones in remote systems or lite versions for cases like Termux. -shellrcsnippets - append to shellrc as needed, the files shouldn't change -much +- `shellrcsnippets/` - append to shellrc as needed, the files shouldn't change + much +- `submodules/` - git submodules that may be symlinked to, but pulling them + in is up to the user. diff --git a/resolv.conf-generate.bash b/resolv.conf-generate.bash new file mode 120000 index 0000000..6867a1a --- /dev/null +++ b/resolv.conf-generate.bash @@ -0,0 +1 @@ +submodules/shell-things/etc/resolv.conf-generate.bash \ No newline at end of file diff --git a/submodules/shell-things b/submodules/shell-things new file mode 160000 index 0000000..8fe31b9 --- /dev/null +++ b/submodules/shell-things @@ -0,0 +1 @@ +Subproject commit 8fe31b9e641c86f6f8bef1fbaf5685c27164c367 diff --git a/systemd-resolv.conf-generate.bash b/systemd-resolv.conf-generate.bash new file mode 120000 index 0000000..8782607 --- /dev/null +++ b/systemd-resolv.conf-generate.bash @@ -0,0 +1 @@ +submodules/shell-things/etc/systemd-resolv.conf-generate.bash \ No newline at end of file diff --git a/systemd-resolv.conf-restore.bash b/systemd-resolv.conf-restore.bash new file mode 120000 index 0000000..926599a --- /dev/null +++ b/systemd-resolv.conf-restore.bash @@ -0,0 +1 @@ +submodules/shell-things/etc/systemd-resolv.conf-restore.bash \ No newline at end of file