mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2025-12-26 02:12:33 +01:00
new theme, based on lukerandall.zsh-theme but with slightly different colors and using PWD in the prompt
This commit is contained in:
parent
a738ca9b64
commit
13d7a89a51
1 changed files with 12 additions and 0 deletions
12
themes/sirech.zsh-theme
Normal file
12
themes/sirech.zsh-theme
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
# -*- mode: Shell-script-*-
|
||||
# ZSH Theme
|
||||
# Based on lukerandall.zsh-theme
|
||||
# Modified with stuff taken from http://stevelosh.com/blog/2010/02/my-extravagant-zsh-prompt/
|
||||
|
||||
local return_code="%(?..%{$fg_bold[red]%}%? ↵%{$reset_color%})"
|
||||
|
||||
PROMPT='%{$fg_bold[green]%}%n@%m%{$reset_color%} %{$fg_bold[cyan]%}${PWD/#$HOME/~}%{$reset_color%} $(git_prompt_info)%{$reset_color%}%B»%b '
|
||||
RPS1="${return_code}"
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="%{$fg[yellow]%}("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=") %{$reset_color%}"
|
||||
Loading…
Add table
Add a link
Reference in a new issue