Skip to content

ColinHeathman/ctx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ctx

This is a tool to rapidly tab-complete your way to a GKE context

installation

From within your cloud shell, or anywhere you have direct access to the GKE API

Run git clone git@github.com:ColinHeathman/ctx.git ~/.local/share/ctx

Add this to ~/.bashrc or ~/.bash_profile:

alias ctx="source ${HOME}/.local/share/ctx/ctxrc"
source <(ctx completion)

eg.

cat >> ~/.bash_profile <<EOF

alias ctx="source \${HOME}/.local/share/ctx/ctxrc"
source <(ctx completion)

EOF

About

GKE tab-complete contexts

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages