21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
|
if [ "$COLORTERM" = "24bit" -o "$COLORTERM" = "truecolor" \
-o "$terminfo[colors]" = 16777216 ]; then
local color_cwd="#209060"
local color_host="#176945"
local color_suffix="#29bc7d"
local color_vcs="#43d696"
local color_vcs_braces="#29bc7d"
else
local color_cwd="29"
local color_host="23"
local color_suffix="36"
local color_vcs="78"
local color_vcs_braces="36"
fi
local color_jobs="yellow"
local color_status="red"
bindkey -v
# history-incremental-search-backward is much more useful than
# _history-complete-*
|
|
>
>
>
>
>
>
|
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
|
if [ "$COLORTERM" = "24bit" -o "$COLORTERM" = "truecolor" \
-o "$terminfo[colors]" = 16777216 ]; then
local color_cwd="#209060"
local color_host="#176945"
local color_suffix="#29bc7d"
local color_vcs="#43d696"
local color_vcs_braces="#29bc7d"
elif [ "$terminfo[colors]" = 256 ]; then
local color_cwd="29"
local color_host="23"
local color_suffix="36"
local color_vcs="78"
local color_vcs_braces="36"
else
local color_cwd=2
local color_host=6
local color_suffix=2
local color_vcs=2
local color_vcs_braces=2
fi
local color_jobs="yellow"
local color_status="red"
bindkey -v
# history-incremental-search-backward is much more useful than
# _history-complete-*
|