summaryrefslogtreecommitdiffstats
path: root/radar-base.sh (unfollow)
AgeCommit message (Collapse)AuthorFilesLines
2015-10-15Fix invalid regex found by @slackoramaMichael Allen1-2/+3
2015-09-18timing function for performance testingMichael Allen1-0/+8
2015-09-17Ensure we only render prefix and suffix when we have a resultMichael Allen1-4/+24
2015-09-17Surround non-printing chars in %{ and %}Michael Allen1-1/+1
2015-09-17Switch changes status to use prefixesMichael Allen1-3/+3
2015-09-17Switch remote commits to use suffixesMichael Allen1-6/+6
2015-09-17Switch local commits to use prefixesMichael Allen1-7/+5
2015-09-17Switch bash to new render functionMichael Allen1-5/+7
2015-09-17Switch zsh to use the new render promptMichael Allen1-1/+1
2015-09-17Add prefix and suffixing to remote diff renderMichael Allen1-2/+2
2015-09-17Add prefix and suffix to branch name renderMichael Allen1-2/+2
2015-09-17Reduce rewording in regexesMichael Allen1-4/+10
2015-09-17Add prefix/suffixing to local diffMichael Allen1-2/+2
2015-09-17Make providing a prefix and suffix to changes possibleMichael Allen1-2/+2
2015-09-16Use general render functions rather than zsh specificMichael Allen1-4/+4
2015-09-16Make render replace rather than append, so we can reorderMichael Allen1-5/+16
2015-09-16Basic approach to format stringsMichael Allen1-0/+17
2015-09-16Merge the zsh/bash readable branch functionMichael Allen1-12/+14
2015-09-16Merge the zsh/bash changes render functionMichael Allen1-30/+6
2015-09-16Merge zsh and bash local commit render funcMichael Allen1-21/+6
2015-09-16Merge zsh and bash remote commit diffMichael Allen1-22/+7
2015-09-16Merge bash and zsh specific render functionsMichael Allen1-6/+10
2015-09-05Fix colour issue for zshv0.3.2Michael Allen1-1/+7
2015-09-05Fix mistaken colour output on bashMichael Allen1-1/+1
2015-09-05Fix bug with the view of colored branch name in bashAlbert1-1/+1
2015-09-02Allow for shell specific rc filesMichael Allen1-2/+6
2015-09-01Make branch color and master symbol configurableMichael Allen1-9/+17
2015-08-31Provide a way to set a .gitradarrc fileMichael Allen1-0/+9
2015-08-30Test zsh remote commit colorsMichael Allen1-4/+4
2015-08-30Test zsh local commit colorsMichael Allen1-3/+3
2015-08-30Move autoload back to prompt.zsh to make testing easierMichael Allen1-2/+0
2015-08-30Fix mistaken colour assignmentMichael Allen1-4/+4
2015-08-30Duplicate Zsh color config for bashMichael Allen1-27/+35
2015-08-30Small refactor to move zero length escaping characters into one locationMichael Allen1-26/+26
2015-08-30No need for separate color varsMichael Allen1-26/+26
2015-08-30Make zsh changes colors configurableMichael Allen1-5/+10
2015-08-30Make zsh local commit colors configurableMichael Allen1-3/+9
2015-08-30Rename reset color and move color setupMichael Allen1-7/+7
2015-08-30Make zsh remote commit colors configurableMichael Allen1-4/+15
2015-08-28Removing --minimal arg implementationReinaldo Colina1-9/+0
- Dealing with the git: prefix will be done in a separate pull request - The new --no-remote-status arg remains
2015-08-27issue-17: Add arguments to make the prompt shorterReinaldo Colina1-0/+17
2015-08-26Bypass PS1s conversion of \[Michael Allen1-12/+12
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-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 Petrov1-12/+12
but only for PS1 string
2015-08-26Revert "bash prompt length fix: zero-length chars must be placed between \[ ↵Grigory Petrov1-12/+12
and \]" This reverts commit 0fe65ed830b5d1cdc5189230139b52f4c8aacfbc.
2015-08-26bash prompt length fix: zero-length chars must be placed between \[ and \]Grigory Petrov1-12/+12
2015-08-19Ensure the control characters get evaluatedMichael Allen1-1/+1
2015-08-19Rename to git-radarMichael Allen1-0/+0
2015-08-19Remove unnecessary subshells from bash promptMichael Allen1-3/+3
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-18Switch to the more common -E grep regex flagMichael Allen1-11/+11