Skip to content

Instantly share code, notes, and snippets.

@AliKhadivi
Last active May 24, 2023 15:39
Show Gist options
  • Save AliKhadivi/7a37c2ded63aaae904960663982431b2 to your computer and use it in GitHub Desktop.
Save AliKhadivi/7a37c2ded63aaae904960663982431b2 to your computer and use it in GitHub Desktop.
PROMPT=$'
%{$FG[129]%}(%{$fg_bold[blue]%}%n %{$FG[129]%}@ %{$fg_bold[blue]%}%m%{$FG[129]%}) %{$fg_bold[green]%}%D{[%H:%M:%S]} %{$reset_color%}%{$fg_bold[cyan]%}[%~]%{$reset_color%} $(git_prompt_info) $(kube_ps1) $(git_prompt_status)\
%(?:%{$fg_bold[green]%}➜ :%{$fg_bold[red]%}➜ )%{$reset_color%} '
ZSH_THEME_GIT_PROMPT_PREFIX="%{$FG[018]%}["
ZSH_THEME_GIT_PROMPT_SUFFIX="]%{$reset_color%}"
ZSH_THEME_GIT_PROMPT_DIRTY=""
ZSH_THEME_GIT_PROMPT_CLEAN=""
ZSH_THEME_GIT_PROMPT_ADDED="%{$fg[green]%}(%{%G✚%} )"
ZSH_THEME_GIT_PROMPT_MODIFIED="%{$fg[blue]%}(%{%G✹%} )"
ZSH_THEME_GIT_PROMPT_DELETED="%{$fg[red]%}(%{%G✖%} )"
ZSH_THEME_GIT_PROMPT_RENAMED="%{$fg[magenta]%}(%{%G➜%} )"
ZSH_THEME_GIT_PROMPT_UNMERGED="%{$fg[yellow]%}(%{%G═%} )"
ZSH_THEME_GIT_PROMPT_UNTRACKED="%{$fg[cyan]%}(%{%G✭%} )"
@AliKhadivi
Copy link
Author

AliKhadivi commented Feb 7, 2022

add this file to path/to/.oh-my-zsh/themes/jalgo.zsh-theme
example(deafult path): /root/.oh-my-zsh/themes/jalgo.zsh-theme

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment