Skip to content

Provide kubernetes context and namespace for use in tmux status bar

License

Notifications You must be signed in to change notification settings

marcsauter/kube-tmux

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

kube-tmux

Installation

go install github.com/marcsauter/kube-tmux@latest

Configuration

Add kube-tmux to your status bar in .tmux.conf:

set -g status-right "#[fg=black] #(kube-tmux) #H %H:%M %d.%m.%Y"

or with a custom template:

set -g status-right "#[fg=black] #(kube-tmux '<{{.Context}}::{{.Namespace}}>') #H %H:%M %d.%m.%Y"

Consider reducing the status-interval for more current information:

set -g status-interval 5

About

Provide kubernetes context and namespace for use in tmux status bar

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •  

Languages