Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
adam.huang
Ohmyzsh
Commits
d926a558
Commit
d926a558
authored
Feb 22, 2011
by
Stephen Eley
Browse files
Refined RVM prompt in Crunch theme
parent
fadd5f74
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/crunch.zsh-theme
View file @
d926a558
...
...
@@ -6,7 +6,7 @@
# things that vary in my own workflow are shown:
#
# * The time (not the date)
# * The RVM version (omitting the
interpreter
name if it's
just 'ruby'
)
# * The RVM version
and gemset
(omitting the
'ruby'
name if it's
MRI
)
# * The current directory
# * The Git branch and its 'dirty' state
#
...
...
@@ -29,7 +29,7 @@ ZSH_THEME_GIT_PROMPT_DIRTY=" $CRUNCH_GIT_DIRTY_COLOR✗"
# Our elements:
CRUNCH_TIME_="$CRUNCH_BRACKET_COLOR{$CRUNCH_TIME_COLOR%T$CRUNCH_BRACKET_COLOR}%{$reset_color%}"
CRUNCH_RVM_="$CRUNCH_BRACKET_COLOR"["$CRUNCH_RVM_COLOR\$(~/.rvm/bin/rvm-prompt v g)$CRUNCH_BRACKET_COLOR"]"%{$reset_color%}"
CRUNCH_RVM_="$CRUNCH_BRACKET_COLOR"["$CRUNCH_RVM_COLOR\$
{\$
(~/.rvm/bin/rvm-prompt
i
v g)
#ruby-}
$CRUNCH_BRACKET_COLOR"]"%{$reset_color%}"
CRUNCH_DIR_="$CRUNCH_DIR_COLOR%~\$(git_prompt_info) "
CRUNCH_PROMPT="$CRUNCH_BRACKET_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