Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

added personal theme #914

Closed
wants to merge 6 commits into from

8 participants

@marcusmueller
Funky thing, based on rubyrussel's
theme, does:
* shows command runtime
* shows command exit status
* shows hostname IF connected via ssh
* color highlights username IF root
* color highlights returnstatus IF != 0
* adaptive zsh-variable-substitution-fu
   for prompt
Marcus Müller eliminated unnecessary cd and failing substitution
Changing the working directory in a sub-subshell
does not change the working directory of the executing
shell.

The substitution was broken for me on _all_ my machines,
so I started looking into the business.
39b46f5
@mhumeSF

Thank you!

Thank you! this commit fixes issue #1786: upgrade.sh: Bad substitution.

:+1: for both changes, saving directory here is irrelevant.

I can, too, verify that this fixes #1786. See robbyrussell#1786 (comment).

@robbyrussell
Owner

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
Commits on Apr 29, 2013
  1. eliminated unnecessary cd and failing substitution

    Marcus Müller authored
    Changing the working directory in a sub-subshell
    does not change the working directory of the executing
    shell.
    
    The substitution was broken for me on _all_ my machines,
    so I started looking into the business.
Commits on May 8, 2013
  1. @jcaudle
Commits on May 11, 2013
  1. @tehmaspc
Commits on May 12, 2013
  1. @marcusmueller
  2. @marcusmueller
  3. @marcusmueller
This page is out of date. Refresh to see the latest.
View
2  lib/aliases.zsh
@@ -17,7 +17,7 @@ alias history='fc -l 1'
# List direcory contents
alias lsa='ls -lah'
-#alias l='ls -la'
+alias l='ls -la'
alias ll='ls -l'
alias la='ls -lA'
alias sl=ls # often screw this up
View
2  plugins/ssh-agent/ssh-agent.plugin.zsh
@@ -1,7 +1,7 @@
#
# INSTRUCTIONS
#
-# To enabled agent forwarding support add the following to
+# To enable agent forwarding support add the following to
# your .zshrc file:
#
# zstyle :omz:plugins:ssh-agent agent-forwarding on
View
4 tools/upgrade.sh
@@ -1,8 +1,5 @@
-current_path=`pwd`
-current_path=${current_path/ /\\ }
printf '\033[0;34m%s\033[0m\n' "Upgrading Oh My Zsh"
cd "$ZSH"
-
if git pull origin master
then
printf '\033[0;32m%s\033[0m\n' ' __ __ '
@@ -17,4 +14,3 @@ else
printf '\033[0;31m%s\033[0m\n' 'There was an error updating. Try again later?'
fi
-cd "$current_path"
Something went wrong with that request. Please try again.