From 85e73893221ea8bfe31e50425104346db9ad13ac Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Fri, 15 Mar 2024 19:46:14 +0100 Subject: [PATCH] fix bash completion in toolboxes --- cloud-toolbox/Containerfile | 1 + system-toolbox/Containerfile | 1 + 2 files changed, 2 insertions(+) diff --git a/cloud-toolbox/Containerfile b/cloud-toolbox/Containerfile index 54d7ddb..dd2bb07 100644 --- a/cloud-toolbox/Containerfile +++ b/cloud-toolbox/Containerfile @@ -26,6 +26,7 @@ COPY kube_ps.sh /root/kube_ps.sh RUN echo $'[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash;\ source /root/kube_ps.sh;\ +source /etc/profile.d/bash_completion.sh\ PS1=\'[cloud-toolbox \W/ $(kube_ps1)]\$ \'\ ' >> /root/.bashrc diff --git a/system-toolbox/Containerfile b/system-toolbox/Containerfile index c04f89b..80d36d3 100644 --- a/system-toolbox/Containerfile +++ b/system-toolbox/Containerfile @@ -46,6 +46,7 @@ COPY help-toolbox.sh /usr/bin/help-toolbox RUN chmod 555 /usr/bin/help-toolbox && \ echo $'[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash;\ +source /etc/profile.d/bash_completion.sh\ PS1=\'[system-toolbox \W/]\$ \'\ ' >> /root/.bashrc