Skip to content

Commit 2633b03

Browse files
Enable kubectl-aliases autocompletion
1 parent 8871320 commit 2633b03

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

start-webkubectl.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,5 +6,6 @@ env
66
echo "export TERM=xterm" >> /root/.bashrc
77
echo "source /usr/share/bash-completion/bash_completion" >> /root/.bashrc
88
echo 'source <(kubectl completion bash)' >> /root/.bashrc
9+
echo 'complete -F __start_kubectl k' >> /root/.bashrc
910

1011
gotty ${GOTTY_OPTIONS} /opt/webkubectl/start-session.sh

0 commit comments

Comments
 (0)