n-aliases.conf 985 B

12345678910111213141516171819202122232425262728293031323334
  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. #
  7. # Zshrc integration. All below variables can
  8. # be set in zshrc and will have precedence
  9. # over config files
  10. #
  11. # 1. znt_aliases_active_text
  12. active_text=${znt_aliases_active_text:-$active_text}
  13. # 2. znt_aliases_nlist_coloring_pattern
  14. NLIST_COLORING_PATTERN=${znt_aliases_nlist_coloring_pattern:-$NLIST_COLORING_PATTERN}
  15. # 3. znt_aliases_nlist_coloring_color
  16. NLIST_COLORING_COLOR=${znt_aliases_nlist_coloring_color:-$NLIST_COLORING_COLOR}
  17. # 4. znt_aliases_nlist_coloring_match_multiple
  18. NLIST_COLORING_MATCH_MULTIPLE=${znt_aliases_nlist_coloring_match_multiple:-$NLIST_COLORING_MATCH_MULTIPLE}
  19. # 5. znt_aliases_keywords (array)
  20. if (( ${+znt_aliases_keywords} )); then
  21. keywords=( "${znt_aliases_keywords[@]}" )
  22. fi