From f4672019f565c5631e786f48ec76051616b03cc3 Mon Sep 17 00:00:00 2001 From: Xavier Logerais Date: Fri, 17 Jan 2025 09:14:20 +0000 Subject: [PATCH] feat: Add 3rd party libs --- .gitmodules | 6 ++++++ bashrc | 4 ++++ 2 files changed, 10 insertions(+) create mode 100644 .gitmodules diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..909302e --- /dev/null +++ b/.gitmodules @@ -0,0 +1,6 @@ +[submodule "3rd-party/z"] + path = 3rd-party/z + url = https://github.com/rupa/z.git +[submodule "3rd-party/complete-alias"] + path = 3rd-party/complete-alias + url = https://github.com/cykerway/complete-alias.git diff --git a/bashrc b/bashrc index c80d268..e1202f3 100644 --- a/bashrc +++ b/bashrc @@ -26,6 +26,10 @@ source "${BASEDIR}/_helpers.bash" # Source custom libs _source_dir_files "${BASEDIR}"/libs +# Source 3rd party libs if they exists +_source_file_if_exists "${BASEDIR}/3rd-party/complete-alias/complete_alias" +# _source_file_if_exists "${BASEDIR}/3rd-party/z/z.sh" # FIX: Problème de gestion de la variable PROMPT_COMMAND + # Early customization _source_dir_files "${BASEDIR}"/rc.before.d