fix bash completion in toolboxes
All checks were successful
Build images / build-images-amd64 (push) Successful in 8m28s
Build images / build-images-arm64 (push) Successful in 10m7s
Build images / update-images-manifests (push) Successful in 23s

This commit is contained in:
Maciej Lebiest 2024-03-15 19:46:14 +01:00
parent dd0f0f8029
commit 85e7389322
2 changed files with 2 additions and 0 deletions

View file

@ -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

View file

@ -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