mirror of
https://github.com/GeorgeSG/dotfiles.git
synced 2026-09-04 08:28:44 +00:00
Move zsh config in the repo
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
source $HOME/Git/zsh-git-prompt/zshrc.sh
|
||||
|
||||
setopt PROMPT_SUBST
|
||||
|
||||
HOSTN="$(hostname | tr '[:upper:]' '[:lower:]')"
|
||||
|
||||
PROMPT='%B%U%F{cyan}% %m%u%F{green} %~$(git_super_status)%f %b '
|
||||
RPROMPT='%*'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=" $fg_bold[cyan]% ("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="$fg_bold[cyan]% )"
|
||||
ZSH_THEME_GIT_PROMPT_SEPARATOR="$fg_bold[cyan]% |"
|
||||
ZSH_THEME_GIT_PROMPT_BRANCH=""
|
||||
ZSH_THEME_GIT_PROMPT_STAGED="%F{green}% %{●%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_CONFLICTS="%B%F{red}% %{✖%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_CHANGED="%B%F{red}% %{✚%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_BEHIND="%F{magenta}% %{↓%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_AHEAD="%B%F{yellow}% %{↑%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_UNTRACKED="%B%F{42}% %{…%G%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%F{cyan}% %{✔%G%}"
|
||||
Reference in New Issue
Block a user