You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
But the tmux status bar can not get correct result.
I know that it did not get the correct environment variable when it executed.
And I want to know how can I do this?
Thanks!
The text was updated successfully, but these errors were encountered:
Thanks for your reply. I just put the script to my local path $HOME/workspace/kube-tmux/kube.tmux .
set -g status-left '[#(whoami)]'
set -g status-right '[#(date +" %m-%d %H:%M ") #(getbat.sh) #(/bin/bash $HOME/workspace/kube-tmux/kube.tmux 250 red cyan)]'
set -g status-justify "centre"
set -g pane-active-border-fg '#55ff53'
set -g pane-border-fg '#7fcfee'
I have multiple clusters.
I can connect each other by seting
KUBECONFIG
environment variable.The script can get correct output, like this:
But the tmux status bar can not get correct result.
I know that it did not get the correct environment variable when it executed.
And I want to know how can I do this?
Thanks!
The text was updated successfully, but these errors were encountered: