update simple.zsh-theme with better git prompt
icyphox icyph0x@protonmail.com
Tue, 06 Feb 2018 18:36:25 +0530
2 files changed,
4 insertions(+),
5 deletions(-)
M
zsh/.oh-my-zsh/themes/simple.zsh-theme
→
zsh/.oh-my-zsh/themes/simple.zsh-theme
@@ -1,6 +1,6 @@
-PROMPT='%{$fg[green]%}%d%{$fg[blue]%}$(git_prompt_info)%{$reset_color%} ' +PROMPT='%{$fg[green]%}%~%{$fg[blue]%}$(git_prompt_info)%{$reset_color%} ' -ZSH_THEME_GIT_PROMPT_PREFIX="" +ZSH_THEME_GIT_PROMPT_PREFIX=" " ZSH_THEME_GIT_PROMPT_SUFFIX="" -ZSH_THEME_GIT_PROMPT_DIRTY=" ×" -ZSH_THEME_GIT_PROMPT_CLEAN=" •" +ZSH_THEME_GIT_PROMPT_DIRTY=" \e[0;31m•" +ZSH_THEME_GIT_PROMPT_CLEAN=" \e[0;32m•"
M
zsh/.zshrc
→
zsh/.zshrc
@@ -46,4 +46,3 @@ eval $(gnome-keyring-daemon --start)
export SSH_AUTH_SOCK fi -cd ~