n-aliases.conf 985 Bytes
Newer Older
1
# How should be current element of the list drawn. Possible values: reverse,
Sebastian Gniazdowski's avatar
Sebastian Gniazdowski committed
2
# underline.
3
# On Linux virtual terminal this will be enforced to reverse (because of poor
Sebastian Gniazdowski's avatar
Sebastian Gniazdowski committed
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# underline support on that terminal). The same for screen/tmux.
local active_text=reverse






#
# Zshrc integration. All below variables can
# be set in zshrc and will have precedence
# over config files
#

# 1. znt_aliases_active_text
active_text=${znt_aliases_active_text:-$active_text}

# 2. znt_aliases_nlist_coloring_pattern
NLIST_COLORING_PATTERN=${znt_aliases_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}

# 3. znt_aliases_nlist_coloring_color
NLIST_COLORING_COLOR=${znt_aliases_nlist_coloring_color:-$NLIST_COLORING_COLOR}

# 4. znt_aliases_nlist_coloring_match_multiple
NLIST_COLORING_MATCH_MULTIPLE=${znt_aliases_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}

# 5. znt_aliases_keywords (array)
if (( ${+znt_aliases_keywords} )); then
    keywords=( "${znt_aliases_keywords[@]}" )
fi