styling
This commit is contained in:
parent
ca49342f32
commit
6d0fbb0052
3 changed files with 8 additions and 7 deletions
|
@ -9,7 +9,7 @@ tmux:
|
||||||
modified: ' !'
|
modified: ' !'
|
||||||
untracked: '?'
|
untracked: '?'
|
||||||
stashed: '⚑ '
|
stashed: '⚑ '
|
||||||
clean: ' ✔ '
|
clean: '✔ '
|
||||||
styles:
|
styles:
|
||||||
clear: '#[fg=default]'
|
clear: '#[fg=default]'
|
||||||
state: '#[bg=red,fg=white]'
|
state: '#[bg=red,fg=white]'
|
||||||
|
@ -17,10 +17,10 @@ tmux:
|
||||||
remote: '#[fg=cyan]'
|
remote: '#[fg=cyan]'
|
||||||
staged: '#[fg=green]'
|
staged: '#[fg=green]'
|
||||||
conflict: '#[fg=red]'
|
conflict: '#[fg=red]'
|
||||||
modified: '#[fg=#827717,bg=#ffc107]'
|
modified: '#[fg=#000000,bg=#ffc107]'
|
||||||
untracked: '#[fg=magenta,bg=#ffc107]'
|
untracked: '#[fg=#000000,bg=#ffc107]'
|
||||||
stashed: '#[fg=cyan]'
|
stashed: '#[fg=cyan]'
|
||||||
clean: '#[fg=#e8f5e9,bg=#33691e]'
|
clean: '#[fg=#e8f5e9,bg=#00796b]'
|
||||||
layout: [branch, divergence, ' ', flags, ' ']
|
layout: [branch, divergence, ' ', flags, ' ']
|
||||||
options:
|
options:
|
||||||
branch_max_len: 0
|
branch_max_len: 0
|
||||||
|
|
|
@ -55,10 +55,10 @@ bind-key -T copy-mode-vi WheelDownPane select-pane \; send-keys -X -N 1 scroll-d
|
||||||
setw -g window-status-format ""
|
setw -g window-status-format ""
|
||||||
setw -g window-status-current-format ""
|
setw -g window-status-current-format ""
|
||||||
setw -g window-status-separator ""
|
setw -g window-status-separator ""
|
||||||
set -g status-style "bg=#455a64,fg=#f5f5f5"
|
set -g status-style "bg=#3e3e3e,fg=#f5f5f5"
|
||||||
set -g status-left-length 0
|
set -g status-left-length 0
|
||||||
set -g status-left "#[bg=#263238,fg=#78909C] #I #[bg=#455a64,fg=#cfd8dc] #{=|60|…:pane_current_path} "
|
set -g status-left "#[bg=#3e3e3e,fg=#78909C] #I #[bg=#3e3e3e,fg=#cfd8dc] #{=|45|…:pane_current_path} "
|
||||||
set -g status-right '#[bg=#0d47a1,fg=#e1f5fe] ☸ #(kubectl config current-context) #(~/go/bin/gitmux -cfg ~/.config/gitmux/gitmux.yaml "#{pane_current_path}")'
|
set -g status-right '#[bg=#0d47a1,fg=#e1f5fe] ☸ #{=|-18|…:@kubectx} #(~/go/bin/gitmux -cfg ~/.config/gitmux/gitmux.yaml "#{pane_current_path}")'
|
||||||
set -g status-right-length 0
|
set -g status-right-length 0
|
||||||
|
|
||||||
set -g set-titles on
|
set -g set-titles on
|
||||||
|
|
1
.zshrc
1
.zshrc
|
@ -161,6 +161,7 @@ export ANSIBLE_NOCOWS=1
|
||||||
## Prompt
|
## Prompt
|
||||||
function _pre(){
|
function _pre(){
|
||||||
# echo -ne "\033]0;${PWD}\007"
|
# echo -ne "\033]0;${PWD}\007"
|
||||||
|
tmux set -g @kubectx $(kubectl config current-context)
|
||||||
tmux refresh-client -S
|
tmux refresh-client -S
|
||||||
}
|
}
|
||||||
starship_precmd_user_func="_pre"
|
starship_precmd_user_func="_pre"
|
||||||
|
|
Loading…
Reference in a new issue