mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-05-08 04:34:00 +02:00
Merge a635ad5bfc into 5667161d49
This commit is contained in:
commit
480aa4c39a
1 changed files with 16 additions and 0 deletions
16
themes/danishkhan.zsh-theme
Normal file
16
themes/danishkhan.zsh-theme
Normal file
|
|
@ -0,0 +1,16 @@
|
|||
|
||||
PROMPT='$fg_bold[blue][ $fg[red]%t $fg_bold[blue]] $fg_bold[blue] [ $fg[red]%n@%m:%~$(git_prompt_info)$fg[yellow]$(rvm_prompt_info)$fg_bold[blue] ]$reset_color
|
||||
$(prompt_char) '
|
||||
|
||||
# Git Theming
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="$fg_bold[green]("
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN=" ✔"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}✗%{$fg[green]%}"
|
||||
|
||||
# Repository Types
|
||||
function prompt_char {
|
||||
git branch >/dev/null 2>/dev/null && echo %{$fg_bold[green]%}'±' && return
|
||||
hg root >/dev/null 2>/dev/null && echo '☿' && return
|
||||
echo %{$fg_bold[cyan]%}'☁'
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue