1# Should the list (text, borders) be drawn in bold 2# Value 1 is the default 3local bold=0 4 5# Main color pair (foreground/background) 6local colorpair="white/black" 7 8# Should draw the border? 9local border=0 10 11# Combinations of colors to try out with Ctrl-T and Ctrl-G 12# The last number is the bold option, 0 or 1 13local -a themes 14themes=( "white/black/1" "green/black/0" "green/black/1" "white/blue/0" "white/blue/1" 15 "magenta/black/0" "magenta/black/1" ) 16 17# Uncomment when using new (>5.2) Zsh version that supports 256 colors in zcurses 18#themes=( "white/17/0" "10/17/1" "white/24/1" "white/22/0" "white/22/1" "white/25/0" "white/25/1" 19# "white/59/0" "white/59/1" "white/60/0" "white/60/1" "white/61/0" "white/61/1" "black/65/0" 20# "black/244/0" ) 21 22# When 1, pressing enter when in search mode will not 23# only leave the mode, but also do selection and leave 24# n-history 25local NLIST_INSTANT_SELECT=0 26 27 28 29 30 31 32 33# 34# Zshrc integration. All below variables can 35# be set in zshrc and will have precedence 36# over config files 37# 38 39# 1. znt_list_bold 40bold=${znt_list_bold:-$bold} 41 42# 2. znt_list_colorpair 43colorpair=${znt_list_colorpair:-$colorpair} 44 45# 3. znt_list_border 46border=${znt_list_border:-$border} 47 48# 4. znt_list_themes (array) 49if (( ${+znt_list_themes} )); then 50 themes=( "${znt_list_themes[@]}" ) 51fi 52 53# 5. znt_list_instant_select 54NLIST_INSTANT_SELECT=${znt_list_instant_select:-$NLIST_INSTANT_SELECT} 55 56