Štefan Bystriansky
f50ee8509b
Bold
7 years ago
Štefan Bystriansky
9ac6dd0ecb
bold pri vrátení hodnoty z funkcie
7 years ago
Martin Gondermann
6791792ae3
Set GIT_PROMPT_MASTER_BRANCH to GIT_PROMPT_BRANCH by default
8 years ago
Christian Boltz
4b8c8da3ef
Allow different color for master branch
...
- add $GIT_PROMPT_MASTER_BRANCH - color for master branch
- add $GIT_PROMPT_MASTER_BRANCHES - branch name(s) that use
$GIT_PROMPT_MASTER_BRANCH color, 'master' by default)
All other branches will continue to use $GIT_PROMPT_BRANCH
Fixes https://github.com/magicmonty/bash-git-prompt/issues/311
8 years ago
oGre
3740531995
Use test -z, but handle empty string in variable as set
10 years ago
mikael
f9340cee17
use `test -v` to allow overriding defaults with empty strings
10 years ago
oGre
62496416cd
Cleanup of themes, adding the new upstream variables where applicable
10 years ago
oGre
f0dea79027
Updated documentation. Let GIT_PROMPT_STATUS_COMMAND be set outside a theme before loading gitprompt.sh
10 years ago
oGre
52bfba7d37
Added documentation in Default theme
10 years ago
oGre
09c98facb6
Added environment variable GIT_PROMPT_STATUS_COMMAND that can point out a custom gitstatus.sh script if needed.
10 years ago
oGre
41aa8fe825
Unset the new variable. Documentation added in README.md Removed unexpected token warning.
10 years ago
oGre
87ecc3cae9
Documentation
10 years ago
oGre
baa54d3673
Added config variable analogue to GIT_PROMPT_VIRTUALENV
10 years ago
Martin Gondermann
cc97adfdb7
There was _LAST_COMMAND_INDICATOR_ being printed in prompt output on root user
...
Fixes #96
11 years ago
Martin Gondermann
b745d72722
Optimized themes
11 years ago
Martin Gondermann
7b95c93766
Added themes without display of exit state for Solarized theme, added tweaked themes for Ubuntu terminal fonts (see #77 )
11 years ago
Martin Gondermann
e31c91802c
Readded Default theme
11 years ago
Martin Gondermann
71810b95f5
moved themes around
11 years ago
Martin Gondermann
882bc8ea46
Added first thought on themes
11 years ago
Martin Gondermann
3569c97ba0
Ditched the config variable GIT_PROMPT_SHOW_LAST_COMMAND_INDICATOR in favor of a more general approach with a placeholder.
...
Fixes #76
11 years ago
Martin Gondermann
d10f613100
Moved VirtualEnv template to git-prompt-colors.sh, fixed replacement
11 years ago
Martin Gondermann
957eb80d2a
Readded the LAST_COMMAND_INDICATOR-Functionality, which got lost on last merge.
...
Added fix for #67
11 years ago
Martin Gondermann
8a8e068e66
Removed declares in git-prompt-colors.sh as they are not compatible with the Bash on MacOS X
11 years ago
Alan Stebbens
3ab4973b86
aks: only define the colors once
11 years ago
Alan Stebbens
4ecaa1e645
aks: make the prompt vars all global
11 years ago
Alan Stebbens
d89b35ad7c
aks: make the prompt vars all global
11 years ago
Martin Gondermann
71001b1215
Implemented the possibility for an indicator which shows the result of the last command.
...
To enable just write
export GIT_PROMPT_SHOW_LAST_COMMAND_INDICATOR=1
just before sourcing the gitprompt.sh
fixes #60
12 years ago
Martin Gondermann
5836a50cc1
Made the start and end of the prompt configurable via the .git-prompt-colors.sh
12 years ago
Martin Gondermann
4153ec7ed7
Made gitstatus variables for `symbols_ahead`, `symbols_behind` and `symbols_prehash` configurable via `git-prompt-colors.sh`
...
Fixes #51
The new variables are:
```bash
GIT_STATUS_SYMBOLS_AHEAD
GIT_STATUS_SYMBOLS_BEHIND
GIT_STATUS_SYMBOLS_PREHASH
```
12 years ago
Martin Gondermann
f1508c87c6
Revert "Wrapped prompt colors in \[ and \] to fix history."
...
Fixes #48 for now
This reverts commit 6acf7f8d3e .
12 years ago
Martin Gondermann
6acf7f8d3e
Wrapped prompt colors in \[ and \] to fix history. Should fix #45
12 years ago
Alan Stebbens
ae1c1d1ef0
aks:externalize git prompt colors; add help func
12 years ago