Alan Stebbens
0704670f8e
aks: added gitstatus.sh, and configured it in gitprompt.sh
12 years ago
Martin Gondermann
42e4bccf7d
Merge pull request #34 from fernandolopez/develop
...
Stashed support for fish
12 years ago
Fernando López
d1e542bc22
Stashed support for fish
12 years ago
Martin Gondermann
712f17b33c
Merge pull request #33 from fernandolopez/develop
...
Fixed to work in Python 3.2/3.3
12 years ago
Fernando López
2d817c8866
Fixed to work in Pyton 3.2/3.3
12 years ago
Martin Gondermann
b54437f917
Merge pull request #32 from rsteuerw/master
...
Show number of stash entries in bash prompt
12 years ago
Ralf Steuerwald
100e7034c5
Show number of stash entries in bash prompt
12 years ago
Martin Gondermann
85d717326e
Merge pull request #31 from ogr3/master
...
Run the async call and disown in the same subshell
Thanks, looks ok to me. This should fix #30
12 years ago
ogr3
e70a107295
async_run and disown in subshell when calling to suppress Done output
12 years ago
ogr3
00a79b0777
revert
12 years ago
fredup
051ffa0c2e
Run the async_run and disown in a subshell to suppress Done output
12 years ago
Martin Gondermann
2b47ae9d7c
Disown call terminated other background tasks
...
Fixes #28
12 years ago
Martin Gondermann
6ce9e757d2
Untracked files are now also shown in sub folders
...
Fixes #27
12 years ago
Martin Gondermann
00132f1fdb
Update gitstatus.py
...
Added a version independent print function to gitstatus.py so this prompt can also be used with Python versions older than 2.6
Fixes #26
12 years ago
Martin Gondermann
7f0f1129d8
Merge pull request #25 from danil/master
...
Added callback function to tweak prompt dynamicly
12 years ago
Danil Kutkevich
e1aeba7be6
Added callback function to tweak prompt dynamicly
12 years ago
Martin Gondermann
fc8e35f5a8
Merge pull request #24 from tuxinaut/master
...
Fix indent, Strip traling spaces and convert tabs to spaces
12 years ago
Denny Schäfer
5edb15b73e
Fix indent, Strip traling spaces and convert tabs to spaces
12 years ago
Martin Gondermann
b905a6fb94
Made the check for upstream changes asynchronous. Fixes #23
12 years ago
Martin Gondermann
7866e56b3c
Merge pull request #22 from tuxinaut/master
...
Fix indent and Strip traling spaces
12 years ago
Denny Schäfer
1409feed8f
Fix indent and Strip traling spaces
12 years ago
Martin Gondermann
68d965913c
Merge pull request #21 from bwestlin/master
...
Fix for when spaces exists in repo path
12 years ago
Björn Westlin
1d874d50c5
Fix for when spaces exists in repo path
12 years ago
Martin Gondermann
0c88e9409d
Updated Installation instructions
12 years ago
Martin Gondermann
1f566c7be3
GIT_PROMPT_END was broken on directories without repository
...
fixes #19
12 years ago
Martin Gondermann
cce1eb43fb
Merge pull request #18 from maddingo/master
...
fixed problems when pre-set PROMPT_COMMAND has trailing semi-colon
12 years ago
Martin Goldhahn
c31fddb418
fixed problems when pre-set PROMPT_COMMAND has trailing semi-colon
12 years ago
Martin Gondermann
6a80c55b3a
Merge pull request #16 from maddingo/master
...
put git_prompt_dir in a function and apply gitprompt only to git repositories
13 years ago
Martin Goldhahn
6f47998906
Merge branch 'magicmonty'
13 years ago
Martin Goldhahn
ff7575ccdc
apply git prompt only on directories belonging to a git repository
13 years ago
Martin Goldhahn
238ab58560
move configuration of git_prompt_dir inside a function
13 years ago
Martin Gondermann
e55126a129
Merge pull request #15 from JackSullivan/patch-1
...
Added support for tags
13 years ago
Jack Sullivan
3cf7fbba8d
Added support for tags
...
If you are on a commit hash that has a tag, it will display the tag's name instead of the commit hash on the prompt.
13 years ago
Martin Gondermann
9bf2a6435a
No more error on new repository. Fixes #14
13 years ago
Martin Gondermann
dfc29d14b4
No more error on new repository. Fixes #14
13 years ago
Martin Gondermann
159c5e32d4
No more error on new repository. Fixes #9
13 years ago
Martin Gondermann
08355a2306
Fixed tabs
13 years ago
Martin Goldhahn
d22e1b495e
keep old prompt on non-git repository folders
13 years ago
Martin Gondermann
c869a349f1
PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt did not work correctly (fixes Issue #13 )
13 years ago
Martin Gondermann
d7f5d3bb17
Changed the last line of gitprompt.sh to
...
PROMPT_COMMAND=$PROMPT_COMMAND;setGitPrompt
This would allow previous PROMPT_COMMAND's too (for example for seting the window title).
Fixes #3
13 years ago
Martin Gondermann
43a4f3c9ee
Fixed Issue #6 : Definig $PROMPT_START $PROMPT_END out of gitprompt.sh
...
It is now possible to override PROMPT_START and PROMPT_END by exporting the variables GIT_PROMPT_START and GIT_PROMPT_END
13 years ago
Martin Gondermann
31773c1bd6
Merge branch 'master' of github.com:maddingo/bash-git-prompt into maddingo-master
...
Conflicts:
gitprompt.sh
13 years ago
Martin Gondermann
71ab709ab9
Merge branch 'master' of github.com:sdefresne/bash-git-prompt into sdefresne-master
...
# By Sylvain Defresne
# Via Sylvain Defresne
* 'master' of github.com:sdefresne/bash-git-prompt:
Prevent pollution of the global namespace & properly quote variables
Conflicts:
gitprompt.sh
13 years ago
Martin Gondermann
bd5710498f
Added example image for fish prompt
13 years ago
Martin Gondermann
7d2cf348d6
Merge pull request #10 from mysz/master
...
Use variable __GIT_STATUS_CMD instead of __GIT_PROMPT_DIR
13 years ago
Martin Gondermann
af00de523f
Merge pull request #8 from mariuszs/master
...
Configuration for Fish shell
13 years ago
Martin Gondermann
dde7c56c10
Merge pull request #7 from malduarte/master
...
provide an up to date repo view by fetching remote repo revisions regularly
13 years ago
Martin Goldhahn
f36da50f68
use 24h time format
13 years ago
Martin Goldhahn
56e9e243a3
script works for any installation directory
13 years ago
Marcin Sztolcman
ca5f2c7f28
use __GIT_STATUS_CMD instead of __GIT_PROMPT_DIR
13 years ago