diff options
author | Hugues Hiegel <hugues.hiegel@anevia.com> | 2017-06-30 14:33:52 +0200 |
---|---|---|
committer | Hugues Hiegel <hugues.hiegel@anevia.com> | 2017-06-30 14:33:52 +0200 |
commit | 549c79795996df04500fdd203b3722ba488b99fa (patch) | |
tree | f7ddf5a0a8ca2a15677a09e7ecaa328b04181538 | |
parent | e254a7c87ff4145f83ecacc98f8e4256b404b088 (diff) |
wtf
-rw-r--r-- | 10_Environment.zsh | 12 | ||||
-rw-r--r-- | Tcaps | 12 |
2 files changed, 14 insertions, 10 deletions
diff --git a/10_Environment.zsh b/10_Environment.zsh index ce82154..6df2e25 100644 --- a/10_Environment.zsh +++ b/10_Environment.zsh @@ -38,16 +38,8 @@ case "$( _process_tree )" in *) ;; esac -T_=${has_termcaps:+$termcap[as]} -_T=${has_termcaps:+$termcap[ae]} -_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"}:-"|"} + +source ~/zdotdir/Tcaps # I hate kik00l0l colorized prompts, so I'm using a way to # give a dominant color for each part of the prompt, each of @@ -0,0 +1,12 @@ +#!/bin/zsh + +T_=${has_termcaps:+$termcap[as]} +_T=${has_termcaps:+$termcap[ae]} +_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"}:-"|"} |