n-kill.conf
1479 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# Colorize first number column and last path segment
8# This doesn't cover scripts named "[0-9]## *", which should be very rare
9# (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
10# | is alternative, but only in ()
11local NLIST_COLORING_PATTERN="((#s) #[0-9]## |[[][^]]#](#e)|[^ 0-9/?\\\\][^/\\\\]#(#e))"
12local NLIST_COLORING_COLOR=$'\x1b[00;33m'
13local NLIST_COLORING_MATCH_MULTIPLE=1
14
15# Search keywords, iterated with F2 or Ctrl-X or Ctrl-/
16local -a keywords
17keywords=( "vim" "git" "git commit" "firefox" "mplayer" )
18
19
20
21
22
23
24
25#
26# Zshrc integration. All below variables can
27# be set in zshrc and will have precedence
28# over config files
29#
30
31# 1. znt_kill_active_text
32active_text=${znt_kill_active_text:-$active_text}
33
34# 2. znt_kill_nlist_coloring_pattern
35NLIST_COLORING_PATTERN=${znt_kill_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
36
37# 3. znt_kill_nlist_coloring_color
38NLIST_COLORING_COLOR=${znt_kill_nlist_coloring_color:-$NLIST_COLORING_COLOR}
39
40# 4. znt_kill_nlist_coloring_match_multiple
41NLIST_COLORING_MATCH_MULTIPLE=${znt_kill_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
42
43# 5. znt_kill_keywords (array)
44if (( ${+znt_kill_keywords} )); then
45 keywords=( "${znt_kill_keywords[@]}" )
46fi