mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 15:07:23 +01:00
added my modified oh-my-zsh version to repository
This commit is contained in:
10
zsh/themes/mine.zsh-theme
Normal file
10
zsh/themes/mine.zsh-theme
Normal file
@@ -0,0 +1,10 @@
|
||||
local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
|
||||
PROMPT='%{$fg[blue]%}%B%20~%b%{$reset_color%}$(git_prompt_info)%{$reset_color%} %B$%b '
|
||||
|
||||
if [ -n $EMACS ]; then
|
||||
RPS1="${return_code}"
|
||||
fi
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%})"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="*%{$reset_color%}"
|
||||
Reference in New Issue
Block a user