Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
O
oh-my-zsh
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
github
oh-my-zsh
Commits
7a6caf67
Commit
7a6caf67
authored
Dec 03, 2013
by
Robby Russell
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #950 from sonicradish/master
sonicradish - 256 color oh-my-zsh theme [dark/solarized]
parents
1badb744
867cb3f5
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
+37
-0
sonicradish.zsh-theme
themes/sonicradish.zsh-theme
+37
-0
No files found.
themes/sonicradish.zsh-theme
0 → 100644
View file @
7a6caf67
#!/usr/bin/env zsh
#local return_code="%(?..%{$fg[red]%}%? ↵%{$reset_color%})"
setopt promptsubst
autoload
-U
add-zsh-hook
ROOT_ICON_COLOR
=
$FG
[
111]
MACHINE_NAME_COLOR
=
$FG
[
208]
PROMPT_SUCCESS_COLOR
=
$FG
[
103]
PROMPT_FAILURE_COLOR
=
$FG
[
124]
PROMPT_VCS_INFO_COLOR
=
$FG
[
242]
PROMPT_PROMPT
=
$FG
[
208]
GIT_DIRTY_COLOR
=
$FG
[
124]
GIT_CLEAN_COLOR
=
$FG
[
148]
GIT_PROMPT_INFO
=
$FG
[
148]
# Hash
ROOT_ICON
=
"# "
if
[[
$EUID
-ne
0
]]
;
then
ROOT_ICON
=
""
fi
PROMPT
=
'%{$ROOT_ICON_COLOR%}$ROOT_ICON%{$reset_color%}%{$MACHINE_NAME_COLOR%}%m➜ %{$reset_color%}%{$PROMPT_SUCCESS_COLOR%}%c%{$reset_color%} %{$GIT_PROMPT_INFO%}$(git_prompt_info)%{$GIT_DIRTY_COLOR%}$(git_prompt_status) %{$reset_color%}%{$PROMPT_PROMPT%}ᐅ %{$reset_color%} '
#RPS1="${return_code}"
ZSH_THEME_GIT_PROMPT_PREFIX
=
": "
ZSH_THEME_GIT_PROMPT_SUFFIX
=
"%{
$GIT_PROMPT_INFO
%} :"
ZSH_THEME_GIT_PROMPT_DIRTY
=
" %{
$GIT_DIRTY_COLOR
%}✘"
ZSH_THEME_GIT_PROMPT_CLEAN
=
" %{
$GIT_CLEAN_COLOR
%}✔"
ZSH_THEME_GIT_PROMPT_ADDED
=
"%{
$FG
[103]%}✚%{
$rset_color
%}"
ZSH_THEME_GIT_PROMPT_MODIFIED
=
"%{
$FG
[103]%}✹%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_DELETED
=
"%{
$FG
[103]%}✖%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_RENAMED
=
"%{
$FG
[103]%}➜%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_UNMERGED
=
"%{
$FG
[103]%}═%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_UNTRACKED
=
"%{
$FG
[103]%}✭%{
$reset_color
%}"
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment