diff --git a/.gitignore b/.gitignore old mode 100644 new mode 100755 diff --git a/README.textile b/README.textile old mode 100644 new mode 100755 diff --git a/custom/example.zsh b/custom/example.zsh old mode 100644 new mode 100755 diff --git a/lib/aliases.zsh b/lib/aliases.zsh old mode 100644 new mode 100755 diff --git a/lib/completion.zsh b/lib/completion.zsh old mode 100644 new mode 100755 diff --git a/lib/correction.zsh b/lib/correction.zsh old mode 100644 new mode 100755 diff --git a/lib/directories.zsh b/lib/directories.zsh old mode 100644 new mode 100755 diff --git a/lib/functions.zsh b/lib/functions.zsh old mode 100644 new mode 100755 diff --git a/lib/git.zsh b/lib/git.zsh old mode 100644 new mode 100755 diff --git a/lib/grep.zsh b/lib/grep.zsh old mode 100644 new mode 100755 diff --git a/lib/history.zsh b/lib/history.zsh old mode 100644 new mode 100755 diff --git a/lib/key-bindings.zsh b/lib/key-bindings.zsh old mode 100644 new mode 100755 diff --git a/lib/misc.zsh b/lib/misc.zsh old mode 100644 new mode 100755 diff --git a/lib/rvm.zsh b/lib/rvm.zsh old mode 100644 new mode 100755 diff --git a/lib/spectrum.zsh b/lib/spectrum.zsh old mode 100644 new mode 100755 diff --git a/lib/termsupport.zsh b/lib/termsupport.zsh old mode 100644 new mode 100755 diff --git a/lib/theme-and-appearance.zsh b/lib/theme-and-appearance.zsh old mode 100644 new mode 100755 diff --git a/log/.easter-egg b/log/.easter-egg old mode 100644 new mode 100755 diff --git a/oh-my-zsh.sh b/oh-my-zsh.sh old mode 100644 new mode 100755 diff --git a/plugins/brew/_brew b/plugins/brew/_brew old mode 100644 new mode 100755 diff --git a/plugins/brew/brew.plugin.zsh b/plugins/brew/brew.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/cap/cap.plugin.zsh b/plugins/cap/cap.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/command-not-found/command-not-found.plugin.zsh b/plugins/command-not-found/command-not-found.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/dirpersist/dirpersist.plugin.zsh b/plugins/dirpersist/dirpersist.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/gem/_gem b/plugins/gem/_gem old mode 100644 new mode 100755 diff --git a/plugins/gem/gem.plugin.zsh b/plugins/gem/gem.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/git/git.plugin.zsh b/plugins/git/git.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/github/_github b/plugins/github/_github old mode 100644 new mode 100755 diff --git a/plugins/github/github.plugin.zsh b/plugins/github/github.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/lighthouse/lighthouse.plugin.zsh b/plugins/lighthouse/lighthouse.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/macports/macports.plugin.zsh b/plugins/macports/macports.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/mysql/mysql-macports.plugin.zsh b/plugins/mysql/mysql-macports.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/osx/osx.plugin.zsh b/plugins/osx/osx.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/phing/phing.plugin.zsh b/plugins/phing/phing.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/pip/_pip b/plugins/pip/_pip old mode 100644 new mode 100755 diff --git a/plugins/pip/pip.plugin.zsh b/plugins/pip/pip.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/rails/rails.plugin.zsh b/plugins/rails/rails.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/ruby/ruby.plugin.zsh b/plugins/ruby/ruby.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/ssh-agent/ssh-agent.plugin.zsh b/plugins/ssh-agent/ssh-agent.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/textmate/textmate.plugin.zsh b/plugins/textmate/textmate.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/vagrant/_vagrant b/plugins/vagrant/_vagrant old mode 100644 new mode 100755 diff --git a/plugins/vagrant/vagrant.plugin.zsh b/plugins/vagrant/vagrant.plugin.zsh old mode 100644 new mode 100755 diff --git a/plugins/vi-mode/vi-mode.plugin.zsh b/plugins/vi-mode/vi-mode.plugin.zsh old mode 100644 new mode 100755 diff --git a/templates/zshrc.zsh-template b/templates/zshrc.zsh-template old mode 100644 new mode 100755 diff --git a/themes/Soliah.zsh-theme b/themes/Soliah.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/afowler.zsh-theme b/themes/afowler.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/arrow.zsh-theme b/themes/arrow.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/aussiegeek.zsh-theme b/themes/aussiegeek.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/bira.zsh-theme b/themes/bira.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/candy.zsh-theme b/themes/candy.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/clean.zsh-theme b/themes/clean.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/cloud.zsh-theme b/themes/cloud.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/cypher.zsh-theme b/themes/cypher.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dallas.zsh-theme b/themes/dallas.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/darkblood.zsh-theme b/themes/darkblood.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/daveverwer.zsh-theme b/themes/daveverwer.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dst.zsh-theme b/themes/dst.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/dstufft.zsh-theme b/themes/dstufft.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/duellj.zsh-theme b/themes/duellj.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/eastwood.zsh-theme b/themes/eastwood.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/edvardm.zsh-theme b/themes/edvardm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/evan.zsh-theme b/themes/evan.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/example.zsh-theme b/themes/example.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/fletcherm.zsh-theme b/themes/fletcherm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/funky.zsh-theme b/themes/funky.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gallifrey.zsh-theme b/themes/gallifrey.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/garyblessington.zsh-theme b/themes/garyblessington.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/geoffgarside.zsh-theme b/themes/geoffgarside.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/gozilla.zsh-theme b/themes/gozilla.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/imajes.zsh-theme b/themes/imajes.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jbergantine.zsh-theme b/themes/jbergantine.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jnrowe.zsh-theme b/themes/jnrowe.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/josh.zsh-theme b/themes/josh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/jreese.zsh-theme b/themes/jreese.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/juanghurtado.zsh-theme b/themes/juanghurtado.zsh-theme index ac56b23e8..4cc4d48bb 100644 --- a/themes/juanghurtado.zsh-theme +++ b/themes/juanghurtado.zsh-theme @@ -9,9 +9,16 @@ function git_prompt_sha() { echo "%{$fg[white]%}[%{$fg[yellow]%}"$sha"%{$fg[white]%}]" } +# Checks if there are commits ahead from remote +function git_parse_ahead() { + if $(echo "$(git log origin/master..HEAD 2> /dev/null)" | grep '^commit' &> /dev/null); then + echo " %{$fg[red]%}(!)" + fi +} + # Prompts PROMPT=' -%{$fg_bold[green]%}%n@%m%{$fg[white]%}:%{$fg[yellow]%}%~%u$(parse_git_dirty)%{$reset_color%} +%{$fg_bold[green]%}%n@%m%{$fg[white]%}:%{$fg[yellow]%}%~%u$(parse_git_dirty)$(git_parse_ahead)%{$reset_color%} %{$fg[blue]%}>%{$reset_color%} ' RPROMPT='%{$fg_bold[green]%}$(current_branch) $(git_prompt_sha) $(git_prompt_status)%{$reset_color%}' @@ -22,6 +29,6 @@ ZSH_THEME_GIT_PROMPT_DELETED=" %{$fg[red]%}deleted " ZSH_THEME_GIT_PROMPT_RENAMED=" %{$fg[yellow]%}renamed " ZSH_THEME_GIT_PROMPT_MODIFIED=" %{$fg[yellow]%}modified " ZSH_THEME_GIT_PROMPT_ADDED=" %{$fg[green]%}added " -ZSH_THEME_GIT_PROMPT_UNTRACKED=" %{$fg[white]%}untracked " +ZSH_THEME_GIT_PROMPT_UNTRACKED="" ZSH_THEME_GIT_PROMPT_DIRTY=" %{$fg[red]%}(*)" ZSH_THEME_GIT_PROMPT_CLEAN="" \ No newline at end of file diff --git a/themes/kennethreitz.zsh-theme b/themes/kennethreitz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/linuxonly b/themes/linuxonly old mode 100644 new mode 100755 diff --git a/themes/lukerandall.zsh-theme b/themes/lukerandall.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/macovsky-ruby.zsh-theme b/themes/macovsky-ruby.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/macovsky.zsh-theme b/themes/macovsky.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/maran.zsh-theme b/themes/maran.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mgutz.zsh-theme b/themes/mgutz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mikeh.zsh-theme b/themes/mikeh.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/mrtazz.zsh-theme b/themes/mrtazz.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/philips.zsh-theme b/themes/philips.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/pmcgee.zsh-theme b/themes/pmcgee.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/rgm.zsh-theme b/themes/rgm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/risto.zsh-theme b/themes/risto.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/robbyrussell.zsh-theme b/themes/robbyrussell.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/skaro.zsh-theme b/themes/skaro.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/sporty_256.zsh-theme b/themes/sporty_256.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/takashiyoshida.zsh-theme b/themes/takashiyoshida.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/theunraveler.zsh-theme b/themes/theunraveler.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/thomasjbradley.zsh-theme b/themes/thomasjbradley.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/tonotdo.zsh-theme b/themes/tonotdo.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/wezm+.zsh-theme b/themes/wezm+.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/wezm.zsh-theme b/themes/wezm.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/xiong-chiamiov-plus.zsh-theme b/themes/xiong-chiamiov-plus.zsh-theme old mode 100644 new mode 100755 diff --git a/themes/xiong-chiamiov.zsh-theme b/themes/xiong-chiamiov.zsh-theme old mode 100644 new mode 100755 diff --git a/tools/check_for_upgrade.sh b/tools/check_for_upgrade.sh old mode 100644 new mode 100755 diff --git a/tools/uninstall.sh b/tools/uninstall.sh old mode 100644 new mode 100755 diff --git a/tools/upgrade.sh b/tools/upgrade.sh old mode 100644 new mode 100755