summaryrefslogtreecommitdiff
path: root/prompt
diff options
context:
space:
mode:
Diffstat (limited to 'prompt')
-rwxr-xr-xprompt16
1 files changed, 9 insertions, 7 deletions
diff --git a/prompt b/prompt
index c3a37c5..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
@@ -23,11 +23,11 @@
LVV_host_color='blue'
AHP_host_color='white'
- # git color
- git_clean=blue # clean(blue) nothing to commit (working directory clean)
- git_modified=red # modified(red) # Changed but not updated:
- git_added=green # added(green) # Changes to be committed:
- git_untracked=BLUE # untracked(yellow) # Untracked files:
+ # git color
+ git_clean=blue # nothing to commit (working directory clean)
+ git_modified=red # # Changed but not updated:
+ git_added=green # # Changes to be committed:
+ git_untracked=BLUE # # Untracked files:
#####################################################################
@@ -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: