1
0

zpreztorc 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  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. 'prompt' \
  19. 'git' \
  20. 'syntax-highlighting' \
  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. # Set the prompt theme to load.
  40. # Setting it to 'random' loads a random theme.
  41. # Auto set to 'off' on dumb terminals.
  42. zstyle ':prezto:module:prompt' theme 'agnoster'
  43. #
  44. # Syntax Highlighting
  45. #
  46. # Set syntax highlighters.
  47. # By default, only the main highlighter is enabled.
  48. zstyle ':prezto:module:syntax-highlighting' highlighters \
  49. 'main' \
  50. 'brackets' \
  51. 'pattern' \
  52. 'cursor' \
  53. 'root'