mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2026-01-30 02:44:42 +01:00
Merge remote-tracking branch 'upstream/master'
This commit is contained in:
commit
e9d5d4726b
27 changed files with 384 additions and 71 deletions
11
themes/gianu.zsh-theme
Normal file
11
themes/gianu.zsh-theme
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
# Oh-my-Zsh prompt created by gianu
|
||||
#
|
||||
# github.com/gianu
|
||||
# sgianazza@gmail.com
|
||||
|
||||
PROMPT='[%{$fg_bold[white]%}%n%{$reset_color%}@%{$fg_bold[red]%}%m%{$reset_color%} %{$fg[cyan]%}%c%{$reset_color%} $(git_prompt_info)%{$reset_color%}]$ '
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="(%{$fg_bold[green]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=")"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[green]%} %{$fg[yellow]%}✗%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$reset_color%}"
|
||||
19
themes/itchy.zsh-theme
Normal file
19
themes/itchy.zsh-theme
Normal file
|
|
@ -0,0 +1,19 @@
|
|||
# Created by Daniel Bayerlein https://github.com/danielbayerlein
|
||||
# Inspired by http://peepcode.com/blog/2012/my-command-line-prompt
|
||||
|
||||
local smiley="%(?,%{$fg[green]%}☺%{$reset_color%},%{$fg[red]%}☹%{$reset_color%})"
|
||||
|
||||
local user="%{$fg[cyan]%}%n%{$reset_color%}"
|
||||
local host="%{$fg[cyan]%}@%m%{$reset_color%}"
|
||||
local pwd="%{$fg[yellow]%}%~%{$reset_color%}"
|
||||
|
||||
PROMPT='${user}${host} ${pwd}
|
||||
${smiley} '
|
||||
|
||||
RPROMPT='$(rvm-prompt || rbenv version) %{$fg[white]%}$(git_prompt_info)%{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX=""
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX=""
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%} ✗%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[green]%} ✔%{$reset_color%}"
|
||||
|
||||
23
themes/jaischeema.zsh-theme
Normal file
23
themes/jaischeema.zsh-theme
Normal file
|
|
@ -0,0 +1,23 @@
|
|||
# ------------------------------------------------------------------------------
|
||||
# FILE: jaischeema.zsh-theme
|
||||
# DESCRIPTION: oh-my-zsh theme file.
|
||||
# AUTHOR: Jais Cheema
|
||||
# VERSION: 0.0.1
|
||||
# ------------------------------------------------------------------------------
|
||||
|
||||
|
||||
|
||||
PROMPT='%{$fg_bold[magenta]%}%m%{$reset_color%} at %{$fg_bold[green]%}%~%{$reset_color%} %{$fg_bold[blue]%}$(git_prompt_info)%{$fg_bold[blue]%}% %{$reset_color%}%{$fg[red]%}❯%{$reset_color%} '
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="±(%{$fg[red]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$reset_color%}"
|
||||
ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[blue]%}) %{$fg[yellow]%}✗%{$reset_color%} "
|
||||
ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[blue]%}) "
|
||||
|
||||
if which rbenv &> /dev/null; then
|
||||
RPROMPT='%{$fg[red]%}$(rbenv version | sed -e "s/ (set.*$//")%{$reset_color%}'
|
||||
else
|
||||
if which rvm-prompt &> /dev/null; then
|
||||
RPROMPT='%{$fg[red]%}$(rvm-prompt)%{$reset_color%}'
|
||||
fi
|
||||
fi
|
||||
12
themes/kiwi.zsh-theme
Normal file
12
themes/kiwi.zsh-theme
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
#
|
||||
# Kiwi ZSH Theme
|
||||
#
|
||||
|
||||
PROMPT='%{$fg_bold[green]%}┌[%{$fg_bold[cyan]%}kiwish-4.2%{$fg_bold[green]%}]-(%{$fg_bold[white]%}%2~%{$fg_bold[green]%})-$(git_prompt_info)$(svn_prompt_info)$(battery_pct_prompt)
|
||||
└> % %{$reset_color%}'
|
||||
|
||||
ZSH_THEME_GIT_PROMPT_PREFIX="[%{$reset_color%}%{$fg[white]%}git:%{$fg_bold[white]%}"
|
||||
ZSH_THEME_GIT_PROMPT_SUFFIX="%{$fg_bold[green]%}]-"
|
||||
|
||||
ZSH_THEME_SVN_PROMPT_PREFIX="[%{$reset_color%}%{$fg[white]%}svn:%{$fg_bold[white]%}/"
|
||||
ZSH_THEME_SVN_PROMPT_SUFFIX="%{$fg_bold[green]%}]-"
|
||||
Loading…
Add table
Add a link
Reference in a new issue