From d3ba6004d6290b8af677203bb8264086842939de Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Wed, 17 Dec 2025 13:52:14 +0100 Subject: [PATCH] feat: integrate work bash modules as submodule Add work bash utilities as git submodule to centralize and version-control work development utilities. Changes: - Add submodule at .bash_aliases/hosts/work - Add host loader with single-line import (sources init.sh) - Company-specific config kept in submodule - Simplified import chain: just source init.sh The modules are now independently version-controlled and can be easily shared across machines or used in other contexts. Work modules include: - init.sh: Single entry point for all modules - config.sh: Company-specific environment configuration - modules/gitlab.sh: GitLab MR workflow utilities - modules/jira.sh: Jira issue management aliases - modules/kubernetes-secrets.sh: K8s secret management - modules/tenant-manager.sh: Tenant Manager dev tools --- .bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 | 5 +++++ .bash_aliases/hosts/work | 1 + .gitmodules | 9 +++++++++ 3 files changed, 15 insertions(+) create mode 100644 .bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 create mode 160000 .bash_aliases/hosts/work create mode 100644 .gitmodules diff --git a/.bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 b/.bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 new file mode 100644 index 0000000..de0294c --- /dev/null +++ b/.bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 @@ -0,0 +1,5 @@ +# shellcheck shell=bash +# vim: set ft=bash : + +# Source work modules +[ -f "$HOME/.bash_aliases/hosts/work/init.sh" ] && source "$HOME/.bash_aliases/hosts/work/init.sh" diff --git a/.bash_aliases/hosts/work b/.bash_aliases/hosts/work new file mode 160000 index 0000000..767b0d5 --- /dev/null +++ b/.bash_aliases/hosts/work @@ -0,0 +1 @@ +Subproject commit 767b0d51557129c3140909a72ecefb481015d485 diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..4ebae86 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,9 @@ +[submodule ".bash_aliases/hosts/rightcrowd-modules"] + path = .bash_aliases/hosts/rightcrowd-modules + url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git +[submodule ".bash_aliases/hosts/work-modules"] + path = .bash_aliases/hosts/work-modules + url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git +[submodule ".bash_aliases/hosts/work"] + path = .bash_aliases/hosts/work + url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git