n-cd.conf 891 B

1234567891011121314151617181920212223242526
  1. # Hotlist
  2. # Try to use $ZSH_VERSION, e.g. /usr/share/zsh/$ZSH_VERSION/functions
  3. local hotlist
  4. hotlist=(
  5. ~/.config/znt
  6. /usr/share/zsh/site-functions
  7. /usr/share/zsh
  8. /usr/local/share/zsh/site-functions
  9. /usr/local/share/zsh
  10. /usr/local/bin
  11. )
  12. # Suppress adding (to directory stack) directories visited by n-cd
  13. # Value 0 is the default (directories will be added to dirstack)
  14. local NCD_DONT_PUSHD=0
  15. # How should be current element of the list drawn. Possible values: reverse,
  16. # underline. Default (without option set) is reverse
  17. # On Linux virtual terminal this will be enforced to reverse (because of poor
  18. # underline support on that terminal)
  19. # local active_text=underline
  20. # Colorize last segments of the paths
  21. # (#s) is ^, (#e) is $, # is *, ## is + (comparing to regex)
  22. local NLIST_COLORING_PATTERN="[a-zA-Z0-9 ._-]##/#(#e)"
  23. local NLIST_COLORING_COLOR=$'\x1b[00;33m'