fix sourcing bash completion in toolbox images
This commit is contained in:
parent
85e7389322
commit
20da2bb07a
2 changed files with 2 additions and 2 deletions
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue