summaryrefslogtreecommitdiff
path: root/.bash_prompt
diff options
context:
space:
mode:
Diffstat (limited to '.bash_prompt')
-rw-r--r--.bash_prompt17
1 files changed, 10 insertions, 7 deletions
diff --git a/.bash_prompt b/.bash_prompt
index 1ee9ed8..bf7a7b1 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -6,13 +6,6 @@
# anything else: Never show hostname
-if [ "${TERM}" = dumb ]
-then
- PS1='$? \u:\w\$ '
- return
-fi
-
-
__show-hostname ()
{
case ${PS1_SHOWHOSTNAME} in
@@ -203,6 +196,16 @@ __refresh-terminal ()
}
+PS2='… '
+
+if [ "${TERM}" = dumb ]
+then
+ PS1='$? \u:\w\$ '
+ return
+fi
+
+PS2=$(__fontify "${PS2}" dim)
+
if __have-gitprompt
then
. /usr/lib/git-core/git-sh-prompt