Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Change the agnoster theme for more configurability #3434

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Commits on Dec 23, 2014

  1. Changed Agnoster theme for more modularity

    The agnoster theme now supports:
    
    * Setting color for all kinds of elements, by setting an appropiate config variable to the color name in your zshrc
      Example: AGNOSTER_GIT_DIRTY_BG=red # Set the git prompt background color to red for dirty repos
    * Allowing to separate the git root and the relative path in your prompt by setting AGNOSTER_GIT_INLINE to 'true'
      You will then have a segment for the git root (ie. ~/.oh-my-zsh) followed by the existing git branch segment (ie. master) and
      finally the relative directory path (ie. themes)
    * By setting AGNOSTER_STATUS_RETVAL_NUMERIC to 'true', The return value in the status prompt will become a number instead of a cross.
    Kilobyte22 committed Dec 23, 2014
    Configuration menu
    Copy the full SHA
    74bc2f3 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a905643 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    0832d8c View commit details
    Browse the repository at this point in the history

Commits on Feb 3, 2015

  1. Configuration menu
    Copy the full SHA
    00e64af View commit details
    Browse the repository at this point in the history

Commits on Mar 17, 2015

  1. Configuration menu
    Copy the full SHA
    52a1fc3 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2015

  1. Agnoster theme now properly handles bare git repos

    Up until now the agnoster theme with enabled inline git branch display did not work properly for bare repos.
    This was caused by `git rev-parse --show-toplevel` returning empty string for bare repos. In that case it now uses the git directory as root.
    Your bare repo should be displayed properly (although you usually won't really navigate through a bare git repo, this is nice to have.
    Kilobyte22 committed Jul 27, 2015
    Configuration menu
    Copy the full SHA
    5f2f60f View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    64e3d71 View commit details
    Browse the repository at this point in the history
  3. Fixed an artifact from merge and some bugs in agnoster theme

    For some reason i forgot to save the file in my editor, leading to the code not working. Luckily i looked through the changed files on github again and i found this. This is what happens if you don't care to actually test your code for once
    Due to some more lack of testing i totall missed that my earlier fix did not work. This is now really fixed. (i should not write code when tired.)
    Kilobyte22 committed Jul 27, 2015
    Configuration menu
    Copy the full SHA
    9aa9c66 View commit details
    Browse the repository at this point in the history
  4. Fixed an artifact from merge and some bugs in agnoster theme

    For some reason i forgot to save the file in my editor, leading to the code not working. Luckily i looked through the changed files on github again and i found this. This is what happens if you don't care to actually test your code for once
    Due to some more lack of testing i totall missed that my earlier fix did not work. This is now really fixed. (i should not write code when tired.)
    Kilobyte22 committed Jul 27, 2015
    Configuration menu
    Copy the full SHA
    a3be897 View commit details
    Browse the repository at this point in the history