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