diff --git a/lazy.ansible/.manala/etc/zsh/.zshrc.tmpl b/lazy.ansible/.manala/etc/zsh/.zshrc.tmpl index 3d64c410..9951ccc3 100644 --- a/lazy.ansible/.manala/etc/zsh/.zshrc.tmpl +++ b/lazy.ansible/.manala/etc/zsh/.zshrc.tmpl @@ -8,7 +8,7 @@ export ZSH=/usr/local/share/oh-my-zsh # load a random theme each time Oh My Zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME="strug" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -117,3 +117,8 @@ source $ZSH/oh-my-zsh.sh # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" + +## Prompt configuration + +PROMPT="%{$fg[green]%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %1~ %{$reset_color%}${git_branch} +%{$fg[green]%}╰\$ %{$reset_color%}" diff --git a/lazy.kubernetes/.manala/etc/zsh/.zshrc.tmpl b/lazy.kubernetes/.manala/etc/zsh/.zshrc.tmpl index d0b74e02..fb71025c 100644 --- a/lazy.kubernetes/.manala/etc/zsh/.zshrc.tmpl +++ b/lazy.kubernetes/.manala/etc/zsh/.zshrc.tmpl @@ -8,7 +8,7 @@ export ZSH=/usr/local/share/oh-my-zsh # load a random theme each time Oh My Zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME="strug" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -76,6 +76,7 @@ plugins=( zsh-autosuggestions zsh-syntax-highlighting kubectl + kube-ps1 {{- if .Vars.system.docker }} docker {{- end }} @@ -144,3 +145,18 @@ source $ZSH/oh-my-zsh.sh # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" + +## Kube-ps1 configuration + +KUBE_PS1_SEPARATOR='' +KUBE_PS1_CTX_COLOR=blue +KUBE_PS1_SYMBOL_COLOR=blue +KUBE_PS1_PREFIX=[ +KUBE_PS1_PREFIX_COLOR=blue +KUBE_PS1_SUFFIX=] +KUBE_PS1_SUFFIX_COLOR=blue + +## Prompt configuration + +PROMPT='%{$fg[green]%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %1~ %{$reset_color%}%{$FG[008]%}•%{$reset_color%} $(kube_ps1) +%{$fg[green]%}╰\$ %{$reset_color%}' diff --git a/lazy.symfony/.manala/etc/zsh/.zshrc.tmpl b/lazy.symfony/.manala/etc/zsh/.zshrc.tmpl index 0b6d1cae..1edca3b2 100644 --- a/lazy.symfony/.manala/etc/zsh/.zshrc.tmpl +++ b/lazy.symfony/.manala/etc/zsh/.zshrc.tmpl @@ -8,7 +8,7 @@ export ZSH=/usr/local/share/oh-my-zsh # load a random theme each time Oh My Zsh is loaded, in which case, # to know which specific one was loaded, run: echo $RANDOM_THEME # See https://github.com/ohmyzsh/ohmyzsh/wiki/Themes -ZSH_THEME="robbyrussell" +ZSH_THEME="strug" # Set list of themes to pick from when loading at random # Setting this variable when ZSH_THEME=random will cause zsh to load @@ -107,3 +107,8 @@ source $ZSH/oh-my-zsh.sh # Example aliases # alias zshconfig="mate ~/.zshrc" # alias ohmyzsh="mate ~/.oh-my-zsh" + +## Prompt configuration + +PROMPT="%{$fg[green]%}╭─%n@%m %{$reset_color%}%{$fg[yellow]%}in %1~ %{$reset_color%}${git_branch} +%{$fg[green]%}╰\$ %{$reset_color%}"