Alan Stebbens
f82446c9ac
aks: changed all file envars to end with _FILE; added git_prompt_reset
11 years ago
Martin Gondermann
8826ec66ad
Fixed typo in color name. Fixes #70
11 years ago
Alan Stebbens
df7894135a
aks: fixed bug in original/master parameter replacement; resolved trivial conflicts
11 years ago
Martin Gondermann
eb1302d6ca
Merge branch 'aks-master'
11 years ago
Martin Gondermann
f6eba356b0
Merge branch 'master' of https://github.com/aks/bash-git-prompt into aks-master
...
Conflicts:
git-prompt-colors.sh
gitprompt.sh
11 years ago
Alan Stebbens
a91bbe7231
aks: resolved conflicts with original master
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
a3994cd962
aks: aesthetic touchups
11 years ago
Alan Stebbens
a9cd7f330c
aks: optimzations; don't lookup the same files over and over
11 years ago
Alan Stebbens
7bf6b96b71
aks: only define the colors once
11 years ago
Alan Stebbens
3ab4973b86
aks: only define the colors once
11 years ago
Martin Gondermann
839de0333f
Readied overwritten function for displaying the last command indicator
11 years ago
Martin Gondermann
926c441b26
Merge pull request #68 from aks/master
...
Refactored out color defs & assignments; other optimizations.
11 years ago
Alan Stebbens
45737de945
Merge branch 'master' of github.com:aks/bash-git-prompt
...
Conflicts:
README.md
git-prompt-colors.sh
gitprompt.sh
11 years ago
Alan Stebbens
7063695c86
aks: updated README.md
11 years ago
Alan Stebbens
1076fb9538
aks: added space after the flags to improve readability
11 years ago
Alan Stebbens
3ee76282d7
aks: major rewrite with refactored colors, envar management
11 years ago
Alan Stebbens
4ecaa1e645
aks: make the prompt vars all global
11 years ago
Alan Stebbens
eb2554395c
aks: refactor prompt color names & generation into separate file
11 years ago
Alan Stebbens
1030f78f48
aks:testing new file in local, but not in remote
11 years ago
Alan Stebbens
76dcf8b530
aks: updated README.md
11 years ago
Alan Stebbens
f4b7cb3bef
aks: added space after the flags to improve readability
11 years ago
Alan Stebbens
9eddd83375
aks: major rewrite with refactored colors, envar management
11 years ago
Alan Stebbens
d89b35ad7c
aks: make the prompt vars all global
11 years ago
Alan Stebbens
e037ec0231
aks: refactor prompt color names & generation into separate file
11 years ago
Martin Gondermann
6dd3c2f449
Merge pull request #64 from schnell18/master
...
Add spec file to build rpm package
12 years ago
Justin Zhang
e0183531c3
Add spec file to build rpm package
12 years ago
Martin Gondermann
81e873768a
Merge pull request #62 from ChoiZ/patch-2
...
Update gitprompt.sh
12 years ago
François LASSERRE
cc646ed6f1
Update gitprompt.sh
...
Remove trailing whitespaces
12 years ago
Martin Gondermann
bf40013408
Merge pull request #61 from MatiasFernandez/mark_local_branch
...
Modify gitstatus.sh to detect local branch without tracking remote
12 years ago
Matias Fernandez
877d1c2e81
Modify gitstatus.sh to detect local branch without tracking remote
12 years ago
Martin Gondermann
c32b48bdfe
Updated README
12 years ago
Martin Gondermann
f66e4e2984
Added a configuration variable to globally disable the remote fetching (also fix for #59 )
12 years ago
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