Skip to content
This repository

New Theme #918

Closed
wants to merge 4 commits into from

2 participants

Josh Dvir Robby Russell
Josh Dvir

Nice and elegant theme :)

Robby Russell

Thanks for sending this across. However, per the README file ( https://github.com/robbyrussell/oh-my-zsh ) at this point in time... I am not going to be accepting any new themes for a while. My aim is to work out a new solution for how to manage user theme contributions better in the future, but am thinking that 100+ is already too many for folks to browse/select from. :-)

Be sure to follow @ohmyzsh on twitter ( http://twitter.com/ohmyzsh ) to stay tuned for when we might have a good location for such themes.

ProTip: If you have a custom theme and want to use it... you might check out this (poorly documented) feature from pull-request #1111.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Showing 4 unique commits by 2 authors.

Feb 06, 2012
Shuky Dvir shuky dvir theme 8fb119d
Feb 20, 2012
Shuky Dvir adding cutom plugin 6027297
Jun 08, 2012
Shuky Dvir adding more plugin 4e9da6c
Aug 02, 2012
Josh Dvir shukydvir Merge branch 'master' of git://github.com/robbyrussell/oh-my-zsh 2a565f4
This page is out of date. Refresh to see the latest.
1  .gitignore
... ... @@ -1,7 +1,6 @@
1 1 locals.zsh
2 2 log/.zsh_history
3 3 projects.zsh
4   -custom/*
5 4 !custom/example
6 5 !custom/example.zsh
7 6 *.swp
24 custom/plugins/shukyf/shukyf.plugin.zsh
... ... @@ -0,0 +1,24 @@
  1 +c() { cd ~/code/$1; }
  2 +
  3 +_c() { _files -W ~/code -/; }
  4 +compdef _c c
  5 +
  6 +
  7 +
  8 +
  9 +b() { cd ~/code/biokm/$1; }
  10 +
  11 +_b() { _files -W ~/code/biokm -/; }
  12 +compdef _b b
  13 +
  14 +
  15 +
  16 +
  17 +p() { cd ~/private_projects/$1; }
  18 +
  19 +_p() { _files -W ~/private_projects -/; }
  20 +compdef _p p
  21 +
  22 +
  23 +alias gmf='git merge --no-ff'
  24 +compdef _git gmf=git-merge--no-ff
23 themes/shukydvir.zsh-theme
... ... @@ -0,0 +1,23 @@
  1 +#RVM settings
  2 +if [[ -s ~/.rvm/scripts/rvm ]] ; then
  3 + RPS1="%{$reset_color%}%{$fg[yellow]%}\$(~/.rvm/bin/rvm-prompt)%{$reset_color%} $EPS1"
  4 +else
  5 + if which rbenv &> /dev/null; then
  6 + RPS1="%{$reset_color%}%{$fg[yellow]%}\$(rbenv version | sed -e 's/ (set.*$//')%{$reset_color%} $EPS1"
  7 + fi
  8 +fi
  9 +
  10 +ZSH_THEME_GIT_PROMPT_PREFIX="%{$reset_color%}%{$fg[blue]%}("
  11 +ZSH_THEME_GIT_PROMPT_SUFFIX=")%{$reset_color%}"
  12 +ZSH_THEME_GIT_PROMPT_DIRTY="%{$fg[red]%}✗%{$reset_color%}"
  13 +ZSH_THEME_GIT_PROMPT_CLEAN="%{$fg[cyan]%}√"
  14 +
  15 +#Customized git status, oh-my-zsh currently does not allow render dirty status before branch
  16 +git_custom_status() {
  17 + local cb=$(current_branch)
  18 + if [ -n "$cb" ]; then
  19 + echo "$ZSH_THEME_GIT_PROMPT_PREFIX$(current_branch)$ZSH_THEME_GIT_PROMPT_SUFFIX$(parse_git_dirty)"
  20 + fi
  21 +}
  22 +
  23 +PROMPT='%{$fg[green]%}[%~% ]$(git_custom_status)%{$reset_color%}%B$%b '

Tip: You can add notes to lines in a file. Hover to the left of a line to make a note

Something went wrong with that request. Please try again.