Skip to content

Latest commit

 

History

History
27 lines (18 loc) · 471 Bytes

README.md

File metadata and controls

27 lines (18 loc) · 471 Bytes

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