Martin Gondermann
1b78dfb6c8
Implemented a per repository possibility to turn of the fetching of the remote status ( fixes #59 )
12 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
0c2d76d226
Merge pull request #57 from gabraganca/conda
...
Adds support to show Conda environment on prompt
12 years ago
Martin Gondermann
3e42c034c4
Merge pull request #58 from a14n/patch-1
...
Fix an error when opening a new tab from terminal
12 years ago
Alexandre Ardhuin
5c4581f37d
Fix an error when opening a new tab from terminal
...
Opening a new tab from a terminal where the current path is not $HOME I get the following error :
```
bash: .bash-git-prompt/gitprompt.sh: No such file or directory
```
12 years ago
Gustavo Braganca
1552aafd8e
Adds support to show Conda environment on prompt
...
When one uses a Virtualenv environment, its name is shown in the prompt.
The same did not happen with a Conda environment. This fix it.
12 years ago
Martin Gondermann
2838579462
Merge pull request #56 from erikpukinskis/master
...
Move last little bit of script into a function so local is available
12 years ago
Erik Pukinskis
8e61b80584
Move last little bit of script into a function so local is available
12 years ago
Martin Gondermann
4ae01ea30b
Merge pull request #55 from Bost/prompt-command
...
Fix PROMPT_COMMAND setGitPrompt cumulation when re-sourcing gitprompt.sh
12 years ago
Rostislav Svoboda
2bbb042530
Fix PROMPT_COMMAND setGitPrompt cumulation when re-sourcing gitprompt.sh
...
Repeated calls of:
source .bash-git-prompt/gitprompt.sh
lead to cumulation:
PROMPT_COMMAND=setGitPrompt;setGitPrompt;...
rendering everything slow
12 years ago
Martin Gondermann
1c0ed42454
Merge pull request #54 from ChoiZ/patch-1
...
Update gitprompt.sh
12 years ago
François LASSERRE
eebe10bb27
Update gitprompt.sh
...
Remove trailing whitespaces
12 years ago
Martin Gondermann
e7735e6162
updated README
12 years ago
Martin Gondermann
5836a50cc1
Made the start and end of the prompt configurable via the .git-prompt-colors.sh
12 years ago
APraxx
08212d8a92
Added different behavior for root prompt in git_prompt_config()
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
557d395303
Merge pull request #50 from garryyao/fix/git-status
...
Fixed git status is broken on branch name containing forward-slash.
12 years ago
Garry Yao
521234f8c9
Fixed git status is broken on branch name containing forward-slash.
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
e6da398da2
Revert "Fix typo"
...
This reverts commit 12c2305329 .
12 years ago
Martin Gondermann
c585dbe4e1
Merge pull request #47 from hdeheer/master
...
Fix typo
12 years ago
Hubert
12c2305329
Fix typo
...
Closing '}' should come before '\]', not after
12 years ago
Martin Gondermann
6acf7f8d3e
Wrapped prompt colors in \[ and \] to fix history. Should fix #45
12 years ago
Martin Gondermann
c942a2c3cd
Added config variable to preserve old PS1 outside of git repositories. Fixes #44
12 years ago
Martin Gondermann
ef60bf0b5e
Merge pull request #43 from mar-pet/master
...
Small improvements
12 years ago
Marek Petlicki
0cd2b5a321
Fix for case when __GIT_PROMPT_DIR contains spaces
12 years ago
Marek Petlicki
5ed401274c
Don't color the brackets around virtualenv name
12 years ago
Marek Petlicki
05535f038b
Small improvements
...
Redeclare Blue colour used to display virtualenv name: the color didn't
work in git repositories.
Removed ResetColor local: has no effect as ResetColor is already global
and we don't change it here.
12 years ago
Martin Gondermann
e8e51195ed
Merge pull request #42 from linuxmaniac/vseva/fix_branch_name
...
fix branch name.
12 years ago
Victor Seva
ea2da1ea6f
fix branch name.
...
branches can have '/'. So, just remove the 'refs/heads' prefix.
12 years ago
Martin Gondermann
da14cb7c35
Merge pull request #40 from gullevek/master
...
Add config variable to toggle leading space in front of Git Prompt
12 years ago
Clemens Schwaighofer
1b5bd22481
Add config variable to toggle leading space in front of Git Prompt
...
Set GIT_PROMPT_LEADING_SPACE to 0 if you do not want a leading space in
front of the prompt. If not set or to any other value a leading space is
printed out.
12 years ago
Martin Gondermann
a5324c2b60
added ability to turn off stash status because "git stash list" is quite slow
12 years ago
Martin Gondermann
c2a454da5a
Revert "removed unneeded calls to git_prompt_config"
...
This reverts commit 4cbef92cf5 .
12 years ago
Martin Gondermann
5be51b8cf6
removed need to use temporary file in gitstatus.sh
12 years ago
Martin Gondermann
4cbef92cf5
removed unneeded calls to git_prompt_config
12 years ago
Martin Gondermann
6b576b46cf
Merge pull request #39 from linuxmaniac/vseva/fix_virtualenv
...
fix VIRTUAL_ENV prompt outside a git repository
12 years ago
Victor Seva
7dc77af94c
fix VIRTUAL_ENV prompt outside a git repository
12 years ago
Martin Gondermann
84d86c9b73
Fixed Symbols for ahead and behind
12 years ago
Martin Gondermann
74f9786745
Colorized git-prompt-help with configured colors and symbols
12 years ago
Martin Gondermann
5c49f42858
Added sourcing of git_prompt_help.sh to gitprompt.sh
12 years ago
unknown
b9855cd627
Merge branch 'master' of https://github.com/aks/bash-git-prompt into aks-master
12 years ago
Martin Gondermann
74beec2a7f
Merge pull request #38 from ogr3/master
...
Associative arrays does not work on Bash 3 (OS X for instance). Change t...
12 years ago
ogr3
5a72f5aff2
Associative arrays does not work on Bash 3 (OS X for instance). Change to ordinary variables to be more compatible.
12 years ago
Alan Stebbens
4e7fcb290b
aks: don't cause errors if the git-prompt-colors.sh file is missing
12 years ago
Alan Stebbens
ae1c1d1ef0
aks:externalize git prompt colors; add help func
12 years ago
Alan Stebbens
aa79c36e3e
Reinserted the missing '!' from the shebang line.
12 years ago
Martin Gondermann
346ab77762
Merge pull request #36 from aks/master
...
Added git-status.sh and configure its use in gitprompt.sh. Updated README.
12 years ago
Alan Stebbens
f60217ae2c
aks: added Cyan as a color, and used it for untracked files. Updated README
12 years ago
Alan Stebbens
3a97752a25
aks: fixed order of config items
12 years ago