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
3d851daf
Commit
3d851daf
authored
Nov 29, 2013
by
Dhruva Sagar
Browse files
Added Amuse zsh theme
parent
66a33b80
Changes
1
Hide whitespace changes
Inline
Side-by-side
themes/amuse.zsh-theme
0 → 100644
View file @
3d851daf
# vim:ft=zsh ts=2 sw=2 sts=2
rvm_current
()
{
rvm current 2>/dev/null
}
rbenv_version
()
{
rbenv version 2>/dev/null |
awk
'{print $1}'
}
PROMPT
=
'
%{$fg_bold[green]%}${PWD/#$HOME/~}%{$reset_color%}$(git_prompt_info) ⌚ %{$fg_bold[red]%}%*%{$reset_color%}
$ '
ZSH_THEME_GIT_PROMPT_PREFIX
=
" on %{
$fg
[magenta]%}⭠ "
ZSH_THEME_GIT_PROMPT_SUFFIX
=
"%{
$reset_color
%}"
ZSH_THEME_GIT_PROMPT_DIRTY
=
"%{
$fg
[red]%}!"
ZSH_THEME_GIT_PROMPT_UNTRACKED
=
"%{
$fg
[green]%}?"
ZSH_THEME_GIT_PROMPT_CLEAN
=
""
RPROMPT
=
'%{$fg_bold[red]%}$(rbenv_version)%{$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