zpreztorc 1.5 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273
  1. # Color output (auto set to 'no' on dumb terminals).
  2. zstyle ':prezto:*:*' color 'yes'
  3. # Set the Zsh modules to load (man zshmodules).
  4. # zstyle ':prezto:load' zmodule 'attr' 'stat'
  5. # Set the Zsh functions to load (man zshcontrib).
  6. # zstyle ':prezto:load' zfunction 'zargs' 'zmv'
  7. # Set the Prezto modules to load (browse modules).
  8. # The order matters.
  9. zstyle ':prezto:load' pmodule \
  10. 'environment' \
  11. 'terminal' \
  12. 'editor' \
  13. 'history' \
  14. 'directory' \
  15. 'spectrum' \
  16. 'utility' \
  17. 'completion' \
  18. 'syntax-highlighting' \
  19. 'prompt' \
  20. 'git' \
  21. 'history-substring-search' \
  22. 'archive'
  23. #
  24. # Editor
  25. #
  26. # Set the key mapping style to 'emacs' or 'vi'.
  27. zstyle ':prezto:module:editor' key-bindings 'emacs'
  28. # Auto convert .... to ../..
  29. zstyle ':prezto:module:editor' dot-expansion 'yes'
  30. #
  31. # Terminal
  32. #
  33. zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s'
  34. zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
  35. zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
  36. #
  37. # Prompt
  38. #
  39. export PRIMARY_FG=white
  40. # Set the prompt theme to load.
  41. # Setting it to 'random' loads a random theme.
  42. # Auto set to 'off' on dumb terminals.
  43. zstyle ':prezto:module:prompt' theme 'agnoster'
  44. #
  45. # Syntax Highlighting
  46. #
  47. # Set syntax highlighters.
  48. # By default, only the main highlighter is enabled.
  49. zstyle ':prezto:module:syntax-highlighting' highlighters \
  50. 'main' \
  51. 'brackets' \
  52. 'pattern' \
  53. 'cursor' \
  54. 'root'
  55. declare -a X_ZSH_HIGHLIGHT_DIRS_BLACKLIST
  56. X_ZSH_HIGHLIGHT_DIRS_BLACKLIST=(
  57. "/net"
  58. "/eos"
  59. )