From 99de189f50c325b73f62cfa06761f4bfdee2f2a6 Mon Sep 17 00:00:00 2001 From: Hektor Misplon Date: Wed, 17 Dec 2025 13:52:14 +0100 Subject: [PATCH] feat: integrate work utilities as submodule at ~/.work Move work utilities to cleaner location at ~/.work instead of .bash_aliases/hosts/work for better organization. Work utilities include: - init.sh: Single entry point for all modules - config.sh: Company-specific environment configuration - modules/: Bash utilities (gitlab, jira, k8s, tenant-manager, dev) - bin/: Executable scripts (future) Source with: source ~/.work/init.sh --- .bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 | 5 +++++ .gitmodules | 12 ++++++++++++ .work | 1 + 3 files changed, 18 insertions(+) create mode 100644 .bash_aliases/hosts/hektor-ThinkPad-E14-Gen-7 create mode 100644 .gitmodules create mode 160000 .work 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..ec84431 --- /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/.work/init.sh" ] && source "$HOME/.work/init.sh" diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..e5920dc --- /dev/null +++ b/.gitmodules @@ -0,0 +1,12 @@ +[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 +[submodule ".work"] + path = .work + url = git@gitlab.com:hektor.misplon/bash-modules-rightcrowd.git diff --git a/.work b/.work new file mode 160000 index 0000000..f1c892c --- /dev/null +++ b/.work @@ -0,0 +1 @@ +Subproject commit f1c892cde8ffac2eaeb1240254538b2f313bc94e