diff --git a/.config/nvim/pack/plugins/opt/treesitter b/.config/nvim/pack/plugins/opt/treesitter index ae0317d..eadfcad 160000 --- a/.config/nvim/pack/plugins/opt/treesitter +++ b/.config/nvim/pack/plugins/opt/treesitter @@ -1 +1 @@ -Subproject commit ae0317d78a9f6fad78870d6645b60528e13ae6fa +Subproject commit eadfcad580edc74b258dc1380f1e3edea35cc6d4 diff --git a/.config/zsh/custom/themes/simpletheme.zsh-theme b/.config/zsh/custom/themes/simpletheme.zsh-theme index 8d4d6f4..e24b44a 100644 --- a/.config/zsh/custom/themes/simpletheme.zsh-theme +++ b/.config/zsh/custom/themes/simpletheme.zsh-theme @@ -13,8 +13,9 @@ _update_KUBE_PS1() { KUBE_PS1_NS="$(kubectl config view --minify -o jsonpath='{..namespace}')" } -precmd() { +kube_ps1() { _update_KUBE_PS1 + local ctx="$KUBE_PS1_CTX" local ns="$KUBE_PS1_NS" local symbol='\u2388 ' @@ -28,6 +29,10 @@ precmd() { echo "$bg$symbol$ctx$sep$ns$end$reset" } +precmd() { + #kube_ps1 +} + PROMPT='%(?::%{$fg_bold[red]%}%? )%{$fg_bold[cyan]%}%~%{$reset_color%} $(git_prompt_info)' ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg_bold[blue]%}(%{$fg[red]%}"