summaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
authorLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-14 16:52:32 +0300
committerLeonid Volnitsky <Leonid@Volnitsky.com>2008-06-14 17:01:08 +0300
commitd543031671db5155f8a06a9db70284436e440f96 (patch)
treeba4d55edbf686f3d43670eaf33ac2cf0eda9979d /prompt
parentbranch changes color according to git status (diff)
downloadgit-prompt-d543031671db5155f8a06a9db70284436e440f96.tar.gz
git-prompt-d543031671db5155f8a06a9db70284436e440f96.tar.bz2
git-prompt-d543031671db5155f8a06a9db70284436e440f96.zip
bug: temp fix for multiple git states
Diffstat (limited to 'prompt')
-rwxr-xr-xprompt6
1 files changed, 4 insertions, 2 deletions
diff --git a/prompt b/prompt
index 4815188..9e1472c 100755
--- a/prompt
+++ b/prompt
@@ -1,6 +1,6 @@
##################################################################### CONFIG
default_user=lvv # default user is not displayed
- #default_host="tosha" # default host is not displayed
+ default_host="ahp" # default host is not displayed
default_domain="lvvnet" # default domain is not deplayed, remote host is alwais shown
# dir, rc, root color
@@ -246,7 +246,8 @@ PROMPT_COMMAND='
s/^# Untracked files:/untracked/p
s/^# Changed but not updated:/modified/p
s/^# Changes to be committed:/added/p
- "
+ " |
+ head -1
`
### compose local label
@@ -264,4 +265,5 @@ PROMPT_COMMAND='
#echo \"$color_who_where\"
unset rc id tty bell default_user default_host
unset rc_colors dir_color root_id_color
+
# vim: set syntax=sh: