From 20da2bb07af92848451db7bc03c42ac8c3f7a123 Mon Sep 17 00:00:00 2001 From: Maciej Lebiest Date: Sat, 16 Mar 2024 15:04:20 +0100 Subject: [PATCH] fix sourcing bash completion in toolbox images --- cloud-toolbox/Containerfile | 2 +- system-toolbox/Containerfile | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/cloud-toolbox/Containerfile b/cloud-toolbox/Containerfile index dd2bb07..f671579 100644 --- a/cloud-toolbox/Containerfile +++ b/cloud-toolbox/Containerfile @@ -26,7 +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\ +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 80d36d3..7771e83 100644 --- a/system-toolbox/Containerfile +++ b/system-toolbox/Containerfile @@ -46,7 +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\ +source /etc/profile.d/bash_completion.sh;\ PS1=\'[system-toolbox \W/]\$ \'\ ' >> /root/.bashrc