preztorc 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. #
  2. # Sets Prezto options.
  3. #
  4. # Authors:
  5. # Sorin Ionescu <sorin.ionescu@gmail.com>
  6. #
  7. #
  8. # General
  9. #
  10. # Set case-sensitivity for completion, history lookup, etc.
  11. zstyle ':prezto:*:*' case-sensitive 'no'
  12. # Color output (auto set to 'no' on dumb terminals).
  13. zstyle ':prezto:*:*' color 'yes'
  14. # Set the Zsh modules to load (man zshmodules).
  15. # zstyle ':prezto:load' zmodule 'attr' 'stat'
  16. # Set the Zsh functions to load (man zshcontrib).
  17. # zstyle ':prezto:load' zfunction 'zargs' 'zmv'
  18. # Set the Prezto modules to load (browse modules).
  19. # The order matters.
  20. zstyle ':prezto:load' pmodule \
  21. 'archive' \
  22. 'completion' \
  23. 'directory' \
  24. 'dpkg' \
  25. 'editor' \
  26. 'environment' \
  27. 'terminal' \
  28. 'editor' \
  29. 'git' \
  30. 'gnu-utility' \
  31. 'history' \
  32. 'history-substring-search' \
  33. 'directory' \
  34. 'spectrum' \
  35. 'completion' \
  36. 'prompt' \
  37. 'sys' \
  38. 'rsync' \
  39. 'tmux' \
  40. 'syntax-highlighting' \
  41. 'utility'
  42. #
  43. # Editor
  44. #
  45. # Set the key mapping style to 'emacs' or 'vi'.
  46. zstyle ':prezto:module:editor' keymap 'emacs'
  47. # Auto convert .... to ../..
  48. # zstyle ':prezto:module:editor' dot-expansion 'yes'
  49. #
  50. # Git
  51. #
  52. # Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
  53. # zstyle ':prezto:module:git:status:ignore' submodules 'all'
  54. #
  55. # GNU Utility
  56. #
  57. # Set the command prefix on non-GNU systems.
  58. # zstyle ':prezto:module:gnu-utility' prefix 'g'
  59. #
  60. # History Substring Search
  61. #
  62. # Set the query found color.
  63. # zstyle ':prezto:module:history-substring-search:color' found ''
  64. # Set the query not found color.
  65. # zstyle ':prezto:module:history-substring-search:color' not-found ''
  66. # Set the search globbing flags.
  67. # zstyle ':prezto:module:history-substring-search' globbing-flags ''
  68. #
  69. # Pacman
  70. #
  71. # Set the Pacman frontend.
  72. # zstyle ':prezto:module:pacman' frontend 'yaourt'
  73. #
  74. # Prompt
  75. #
  76. # Set the prompt theme to load.
  77. # Setting it to 'random' loads a random theme.
  78. # Auto set to 'off' on dumb terminals.
  79. zstyle ':prezto:module:prompt' theme 'kolter'
  80. #
  81. # Screen
  82. #
  83. # Auto start a session when Zsh is launched.
  84. # zstyle ':prezto:module:screen' auto-start 'yes'
  85. #
  86. # SSH
  87. #
  88. # Set the SSH identities to load into the agent.
  89. # zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
  90. #
  91. # Syntax Highlighting
  92. #
  93. # Set syntax highlighters.
  94. # By default, only the main highlighter is enabled.
  95. zstyle ':prezto:module:syntax-highlighting' highlighters \
  96. 'main' \
  97. 'brackets' \
  98. 'pattern' \
  99. 'cursor'
  100. #
  101. # Set syntax highlighting styles.
  102. if [[ $TERM = *256color* || $TERM = *rxvt* ]]; then
  103. zstyle ':prezto:module:syntax-highlighting' styles \
  104. 'command' 'fg=148' \
  105. 'builtin' 'fg=38' \
  106. 'function' 'fg=139' \
  107. 'cursor' 'bg=231,fg=39'
  108. else
  109. zstyle ':prezto:module:syntax-highlighting' styles \
  110. 'command' 'fg=green' \
  111. 'builtin' 'fg=blue' \
  112. 'function' 'fg=cyan' \
  113. 'cursor' 'bg=white,fg=black'
  114. fi
  115. #
  116. # Terminal
  117. #
  118. # Auto set the tab and window titles.
  119. zstyle ':prezto:module:terminal' auto-title 'yes'
  120. #
  121. # Tmux
  122. #
  123. # Auto start a session when Zsh is launched.
  124. # zstyle ':prezto:module:tmux' auto-start 'yes'
  125. # vim: ft=zsh