n-env.conf
1088 bytes
1# How should be current element of the list drawn. Possible values: reverse,
2# underline.
3# On Linux virtual terminal this will be enforced to reverse (because of poor
4# underline support on that terminal). The same for screen/tmux.
5local active_text=reverse
6
7# (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
8local NLIST_COLORING_PATTERN="[a-zA-Z0-9_]##"
9local NLIST_COLORING_MATCH_MULTIPLE=0
10
11
12
13
14
15
16
17#
18# Zshrc integration. All below variables can
19# be set in zshrc and will have precedence
20# over config files
21#
22
23# 1. znt_env_active_text
24active_text=${znt_env_active_text:-$active_text}
25
26# 2. znt_env_nlist_coloring_pattern
27NLIST_COLORING_PATTERN=${znt_env_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
28
29# 3. znt_env_nlist_coloring_color
30NLIST_COLORING_COLOR=${znt_env_nlist_coloring_color:-$NLIST_COLORING_COLOR}
31
32# 4. znt_env_nlist_coloring_match_multiple
33NLIST_COLORING_MATCH_MULTIPLE=${znt_env_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
34
35# 5. znt_env_keywords (array)
36if (( ${+znt_env_keywords} )); then
37 keywords=( "${znt_env_keywords[@]}" )
38fi