Age | Commit message (Collapse) | Author | Files | Lines | |
---|---|---|---|---|---|
2015-09-17 | Switch bash to new render function | Michael Allen | 1 | -8/+1 | |
2015-09-16 | switch prompt files to use new shared render functions | Michael Allen | 1 | -4/+4 | |
2015-09-05 | Fix colour issue for zshv0.3.2 | Michael Allen | 1 | -1/+1 | |
2015-08-30 | Duplicate Zsh color config for bash | Michael Allen | 1 | -0/+1 | |
2015-08-28 | Removing --minimal arg implementation | Reinaldo Colina | 1 | -5/+1 | |
- Dealing with the git: prefix will be done in a separate pull request - The new --no-remote-status arg remains | |||||
2015-08-27 | issue-17: Add arguments to make the prompt shorter | Reinaldo Colina | 1 | -2/+9 | |
2015-08-26 | Remove unnecessary colour on branch names | Michael Allen | 1 | -2/+0 | |
2015-08-26 | Bypass PS1s conversion of \[ | Michael Allen | 1 | -4/+4 | |
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-26 | bash prompt length fix: zero-length chars must be placed between \[ and \], ↵ | Grigory Petrov | 1 | -4/+4 | |
but only for PS1 string | |||||
2015-08-26 | Revert "bash prompt length fix: zero-length chars must be placed between \[ ↵ | Grigory Petrov | 1 | -4/+4 | |
and \]" This reverts commit 0fe65ed830b5d1cdc5189230139b52f4c8aacfbc. | |||||
2015-08-26 | bash prompt length fix: zero-length chars must be placed between \[ and \] | Grigory Petrov | 1 | -4/+4 | |
2015-08-19 | Rename to git-radar | Michael Allen | 1 | -1/+1 | |
2015-08-19 | Remove unnecessary subshells from bash prompt | Michael Allen | 1 | -3/+8 | |
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-18 | Switch to the more common -E grep regex flag | Michael Allen | 1 | -10/+2 | |
2015-08-14 | Split prompt command into bash and zsh | Michael Allen | 1 | -0/+18 | |
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. |