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
Kilobyte22
wants to merge
9
commits into
ohmyzsh:master
Choose a base branch
from
Kilobyte22:master
base: master
Could not load branches
Branch not found: {{ refName }}
Could not load tags
Nothing to show
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
+89
−15
Commits on Dec 23, 2014
-
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.
Configuration menu - View commit details
-
Copy full SHA for 74bc2f3 - Browse repository at this point
Copy the full SHA 74bc2f3View commit details -
Configuration menu - View commit details
-
Copy full SHA for a905643 - Browse repository at this point
Copy the full SHA a905643View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0832d8c - Browse repository at this point
Copy the full SHA 0832d8cView commit details
Commits on Feb 3, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 00e64af - Browse repository at this point
Copy the full SHA 00e64afView commit details
Commits on Mar 17, 2015
-
Configuration menu - View commit details
-
Copy full SHA for 52a1fc3 - Browse repository at this point
Copy the full SHA 52a1fc3View commit details
Commits on Jul 27, 2015
-
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.
Configuration menu - View commit details
-
Copy full SHA for 5f2f60f - Browse repository at this point
Copy the full SHA 5f2f60fView commit details -
Configuration menu - View commit details
-
Copy full SHA for 64e3d71 - Browse repository at this point
Copy the full SHA 64e3d71View commit details -
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.)
Configuration menu - View commit details
-
Copy full SHA for 9aa9c66 - Browse repository at this point
Copy the full SHA 9aa9c66View commit details -
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.)
Configuration menu - View commit details
-
Copy full SHA for a3be897 - Browse repository at this point
Copy the full SHA a3be897View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.