my xfce4 dotfiles
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.1 KiB

3 years ago
  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.
  5. local active_text=reverse
  6. # (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
  7. local NLIST_COLORING_PATTERN="[a-zA-Z0-9_]##"
  8. local NLIST_COLORING_MATCH_MULTIPLE=0
  9. #
  10. # Zshrc integration. All below variables can
  11. # be set in zshrc and will have precedence
  12. # over config files
  13. #
  14. # 1. znt_env_active_text
  15. active_text=${znt_env_active_text:-$active_text}
  16. # 2. znt_env_nlist_coloring_pattern
  17. NLIST_COLORING_PATTERN=${znt_env_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
  18. # 3. znt_env_nlist_coloring_color
  19. NLIST_COLORING_COLOR=${znt_env_nlist_coloring_color:-$NLIST_COLORING_COLOR}
  20. # 4. znt_env_nlist_coloring_match_multiple
  21. NLIST_COLORING_MATCH_MULTIPLE=${znt_env_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
  22. # 5. znt_env_keywords (array)
  23. if (( ${+znt_env_keywords} )); then
  24. keywords=( "${znt_env_keywords[@]}" )
  25. fi