fix sourcing bash completion in toolbox images
All checks were successful
Build images / build-images-amd64 (push) Successful in 7m2s
Build images / build-images-arm64 (push) Successful in 9m17s
Build images / update-images-manifests (push) Successful in 24s

This commit is contained in:
Maciej Lebiest 2024-03-16 15:04:20 +01:00
parent 85e7389322
commit 20da2bb07a
2 changed files with 2 additions and 2 deletions

View file

@ -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;\ RUN echo $'[ -f /usr/share/fzf/shell/key-bindings.bash ] && source /usr/share/fzf/shell/key-bindings.bash;\
source /root/kube_ps.sh;\ 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)]\$ \'\ PS1=\'[cloud-toolbox \W/ $(kube_ps1)]\$ \'\
' >> /root/.bashrc ' >> /root/.bashrc

View file

@ -46,7 +46,7 @@ COPY help-toolbox.sh /usr/bin/help-toolbox
RUN chmod 555 /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;\ 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/]\$ \'\ PS1=\'[system-toolbox \W/]\$ \'\
' >> /root/.bashrc ' >> /root/.bashrc