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
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
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