summaryrefslogtreecommitdiffstats
AgeCommit message (Collapse)AuthorFilesLines
2015-08-26Update docs to mention escaping the executionMichael Allen1-2/+4
2015-08-26Remove unnecessary colour on branch namesMichael Allen2-4/+0
2015-08-26Merge pull request #11 from michaeldfallen/fix-bash-zero-length0.2Michael Allen3-19/+19
Bypass PS1s conversion of \[
2015-08-26Merge pull request #8 from justinas/masterMichael Allen1-1/+1
Suppress the 'Fatal: not a git repository' errors
2015-08-26Bypass PS1s conversion of \[Michael Allen3-19/+19
In PS1 you need to escape non-printing characters, like the color codes. The standard way is wrapping it in `\[` and `\]`. But for a dynamic prompt, i.e. one that renders the results of a function every time the prompt renders, that `\[` will be output as literals. To fix this we bypass the conversion and wrap our non-printing characters in the desired characters directly: `\[` -> `\x01` `\]` -> `\x02`
2015-08-26Merge pull request #7 from eyeofhell/masterMichael Allen2-16/+16
Bash prompt line length fix
2015-08-26Suppress the 'Fatal: not a git repository' errorsJustinas Stankevicius1-1/+1
2015-08-26bash prompt length fix: zero-length chars must be placed between \[ and \], ↵Grigory Petrov2-16/+16
but only for PS1 string
2015-08-26Revert "bash prompt length fix: zero-length chars must be placed between \[ ↵Grigory Petrov4-35/+35
and \]" This reverts commit 0fe65ed830b5d1cdc5189230139b52f4c8aacfbc.
2015-08-26bash prompt length fix: zero-length chars must be placed between \[ and \]Grigory Petrov4-35/+35
2015-08-25Expand the readme slightlyMichael Allen1-3/+8
2015-08-25Follow symlinks when loading libs0.1Michael Allen2-2/+19
2015-08-25Small rewordMichael Allen1-1/+1
2015-08-25Move to git-radar repo nameMichael Allen1-12/+12
2015-08-25Nice little message about whyMichael Allen1-0/+4
2015-08-25Add example to the top of the pageMichael Allen1-0/+3
2015-08-25Remove unneeded cursor lineMichael Allen7-0/+0
2015-08-25Make images slightly shorterMichael Allen12-0/+0
2015-08-25Link to images in readmeMichael Allen1-0/+10
2015-08-25Testing the images in the readmeMichael Allen1-0/+1
2015-08-25Add example images for the readmeMichael Allen13-0/+0
2015-08-25Fix the table formattingMichael Allen1-15/+13
2015-08-25Added readme and licenseMichael Allen3-2/+143
2015-08-25Make fetches run async in the backgroundMichael Allen1-1/+1
2015-08-21Fix tests that broke since printf bash changeMichael Allen1-3/+3
The printf change in d5dbddf68c45dfff380d6e6767de401054024a19 caused the escape sequences to be returned differently. This commit fixes tests that were expecting the escape sequences to be changed from \\033 to \\E.
2015-08-19Decent readme with examples to show how to use git-radarMichael Allen1-8/+72
2015-08-19Make sure fetch is location independantMichael Allen1-1/+4
2015-08-19Ensure the control characters get evaluatedMichael Allen1-1/+1
2015-08-19Auto fetch repos so I don't have to rememberMichael Allen1-0/+2
2015-08-19Rename to git-radarMichael Allen10-8/+8
2015-08-19Remove unnecessary subshells from bash promptMichael Allen2-6/+11
In the zsh prompt we need to use '%s' on the printf to prevent the `${fg_bold[<color>]}` expressions from expanding before the colors have been loaded in. In the bash prompt this is unnecessary as the \\033 codes are base control characters, and so have no dependency they rely on.
2015-08-19Color zsh prompt slightly differentlyMichael Allen1-5/+5
2015-08-19Reduce the number of subshells, for performanceMichael Allen1-2/+7
2015-08-18Provide single entrypoint to make scriping easierMichael Allen1-0/+12
2015-08-18Fix up zsh promptMichael Allen1-7/+6
2015-08-18Switch to the more common -E grep regex flagMichael Allen2-21/+13
2015-08-14Split prompt command into bash and zshMichael Allen2-6/+15
The shebang in the top of a file dictates it's runtime. To load the zsh colors stuff you need to be executing in Zsh but then I couldn't support bash so I've split the prompt file into one for each.
2015-08-11Example of how to use the git-base.sh libraryMichael Allen3-6/+46
2015-08-11Switch to printf for it's reliabilityMichael Allen2-42/+42
2015-08-11Provide a bash way to show remote commitsMichael Allen2-2/+28
2015-08-10Move local commit test to commits test fileMichael Allen2-73/+56
2015-08-10Remove unnecessary is_repo check from commit functionsMichael Allen1-26/+20
2015-08-10Test the bash and zsh commit functionMichael Allen1-0/+73
2015-08-10don't do the remote call in the local commit diffMichael Allen1-4/+0
2015-08-06Allow custom separators between partsMichael Allen1-14/+22
2015-08-06Preserve whitespace in function resultsMichael Allen2-23/+5
2015-08-06Provide bash colors for local commit diffsMichael Allen2-1/+27
2015-08-06Provide example of local commit differenceMichael Allen2-1/+27
2015-08-06Provide colors for bash as well as ZshMichael Allen2-1/+37
2015-08-02Include color prefixes in zsh status promptMichael Allen1-4/+4