summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.bash_prompt8
1 files changed, 4 insertions, 4 deletions
diff --git a/.bash_prompt b/.bash_prompt
index b267dbc..55c94b6 100644
--- a/.bash_prompt
+++ b/.bash_prompt
@@ -6,7 +6,7 @@
# anything else: Never show hostname
-if [ "${TERM}" = "dumb" ]
+if [ "${TERM}" = dumb ]
then
return
fi
@@ -14,7 +14,7 @@ fi
__show-hostname ()
{
- case "${PS1_SHOWHOSTNAME}" in
+ case ${PS1_SHOWHOSTNAME} in
(''|auto)
[ "${SSH_CONNECTION}" ];;
(yes)
@@ -78,11 +78,11 @@ __end-nonprinting ()
__fontify ()
{
local -A codes=(
+ [bold]=1
+ [dim]=2
[red]=31
[green]=32
[blue]=34
- [bold]=1
- [dim]=2
)
local text=$1