summaryrefslogtreecommitdiff
path: root/10_Environment.zsh
diff options
context:
space:
mode:
authorHugues Hiegel <hugues@hiegel.fr>2012-01-19 17:42:28 +0100
committerHugues Hiegel <hugues@hiegel.fr>2012-01-19 17:42:28 +0100
commit4678c9b8878aadb905fe63b5a3972b00ed237ee3 (patch)
tree0f84063fbde7f20f272d067752002976d1476849 /10_Environment.zsh
parentab612bfeb17debe4c8c00a012b71e09e1c51bee3 (diff)
[Funcs] more termcaps cleanup, more beautiful fallback
Diffstat (limited to '10_Environment.zsh')
-rw-r--r--10_Environment.zsh16
1 files changed, 8 insertions, 8 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh
index 1584c57..8ecc892 100644
--- a/10_Environment.zsh
+++ b/10_Environment.zsh
@@ -30,14 +30,14 @@ unset has_termcaps
[ $TERM = "rxvt-unicode" -o $TERM = "screen" ] && has_termcaps="true"
T_=${has_termcaps:+$termcap[as]}
_T=${has_termcaps:+$termcap[ae]}
-_t_q=${${has_termcaps:+q}:--}
-_t_j=${${has_termcaps:+j}:-[}
-_t_k=${${has_termcaps:+k}:-[}
-_t_l=${${has_termcaps:+l}:-]}
-_t_m=${${has_termcaps:+m}:-]}
-_t_t=${${has_termcaps:+t}:-]}
-_t_u=${${has_termcaps:+u}:-[}
-_t_x=${${has_termcaps:+x}:-|}
+_tq_=${${has_termcaps:+"q"}:-"-"}
+_tj_=${${has_termcaps:+"j"}:-"'"}
+_tk_=${${has_termcaps:+"k"}:-"."}
+_tl_=${${has_termcaps:+"l"}:-","}
+_tm_=${${has_termcaps:+"m"}:-"\`"}
+_tt_=${${has_termcaps:+"t"}:-"]"}
+_tu_=${${has_termcaps:+"u"}:-"["}
+_tx_=${${has_termcaps:+"x"}:-"|"}
# I hate kik00l0l colorized prompts, so I'm using a way to
# give a dominant color for each part of the prompt, each of