Skip to content
Snippets Groups Projects
Commit d24022b0 authored by Ayaz Badouraly's avatar Ayaz Badouraly
Browse files

Adding RPROMPT with git info

parent 64387b85
Branches
No related tags found
No related merge requests found
...@@ -21,3 +21,8 @@ local current_dir="%{$fg_bold[green]%}%~%{$reset_color%}" ...@@ -21,3 +21,8 @@ local current_dir="%{$fg_bold[green]%}%~%{$reset_color%}"
PROMPT="${clock} ${user_host} ${current_dir}${eol} " PROMPT="${clock} ${user_host} ${current_dir}${eol} "
# Display git info
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[magenta]%}(%{$fg[white]%}git%{$fg[magenta]%})%{$fg[yellow]%}-%{$fg[magenta]%}[%{$fg[green]%}"
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg[magenta]%}]%{$reset_color%}"
RPROMPT="$(git_prompt_info)"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment