zpreztorc 6.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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 'yes'
  12. # Color output (auto set to 'no' on dumb terminals).
  13. zstyle ':prezto:*:*' color 'yes'
  14. # Add additional directories to load prezto modules from
  15. # zstyle ':prezto:load' pmodule-dirs $HOME/.zprezto-contrib
  16. # Allow module overrides when pmodule-dirs causes module name collisions
  17. # zstyle ':prezto:load' pmodule-allow-overrides 'yes'
  18. # Set the Zsh modules to load (man zshmodules).
  19. # zstyle ':prezto:load' zmodule 'attr' 'stat'
  20. # Set the Zsh functions to load (man zshcontrib).
  21. # zstyle ':prezto:load' zfunction 'zargs' 'zmv'
  22. # Set the Prezto modules to load (browse modules).
  23. # The order matters.
  24. # NOTE:
  25. # *syntax-highlighting* should be loaded *second to last*,
  26. # where last is the *prompt* module, unless used in conjuncture
  27. # with the *history-substring-search* module
  28. # where it must be loaded **before** it.
  29. zstyle ':prezto:load' pmodule \
  30. 'environment' \
  31. 'terminal' \
  32. 'editor' \
  33. 'history' \
  34. 'directory' \
  35. 'spectrum' \
  36. 'utility' \
  37. 'git' \
  38. 'python' \
  39. 'completion' \
  40. 'battery' \
  41. 'syntax-highlighting' \
  42. 'history-substring-search' \
  43. 'autosuggestions' \
  44. 'prompt'
  45. #
  46. # Autosuggestions
  47. #
  48. # Set the query found color.
  49. # zstyle ':prezto:module:autosuggestions:color' found ''
  50. #
  51. # Completions
  52. #
  53. # Set the entries to ignore in static '/etc/hosts' for host completion.
  54. # zstyle ':prezto:module:completion:*:hosts' etc-host-ignores \
  55. # '0.0.0.0' '127.0.0.1'
  56. #
  57. # Editor
  58. #
  59. # Set the characters that are considered to be part of a word.
  60. # zstyle ':prezto:module:editor' wordchars '*?_-.[]~&;!#$%^(){}<>'
  61. # Set the key mapping style to 'emacs' or 'vi'.
  62. zstyle ':prezto:module:editor' key-bindings 'emacs'
  63. # Auto convert .... to ../..
  64. # zstyle ':prezto:module:editor' dot-expansion 'yes'
  65. #
  66. # Git
  67. #
  68. # Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'.
  69. zstyle ':prezto:module:git:status:ignore' submodules 'all'
  70. # Disable git aliases
  71. zstyle ':prezto:module:git:alias' skip 'yes'
  72. #
  73. # GNU Utility
  74. #
  75. # Set the command prefix on non-GNU systems.
  76. # zstyle ':prezto:module:gnu-utility' prefix 'g'
  77. #
  78. # History
  79. #
  80. # Set the file to save the history in when an interactive shell exits.
  81. # zstyle ':prezto:module:history' histfile "${ZDOTDIR:-$HOME}/.zsh_history"
  82. # Set the maximum number of events stored in the internal history list.
  83. # zstyle ':prezto:module:history' histsize 10000
  84. # Set the maximum number of history events to save in the history file.
  85. # zstyle ':prezto:module:history' savehist 10000
  86. #
  87. # History Substring Search
  88. #
  89. # Set the query found color.
  90. # zstyle ':prezto:module:history-substring-search:color' found ''
  91. # Set the query not found color.
  92. # zstyle ':prezto:module:history-substring-search:color' not-found ''
  93. # Set the search globbing flags.
  94. # zstyle ':prezto:module:history-substring-search' globbing-flags ''
  95. # Enable search case-sensitivity.
  96. # zstyle ':prezto:module:history-substring-search' case-sensitive 'yes'
  97. # Enable search for fuzzy matches.
  98. # zstyle ':prezto:module:history-substring-search' fuzzy 'yes'
  99. # Enable search uniqueness.
  100. # zstyle ':prezto:module:history-substring-search' unique 'yes'
  101. # Enable prefixed search.
  102. # zstyle ':prezto:module:history-substring-search' prefixed 'yes'
  103. #
  104. # macOS
  105. #
  106. # Set the keyword used by `mand` to open man pages in Dash.app
  107. # zstyle ':prezto:module:osx:man' dash-keyword 'manpages'
  108. #
  109. # Pacman
  110. #
  111. # Set the Pacman frontend.
  112. # zstyle ':prezto:module:pacman' frontend 'yaourt'
  113. #
  114. # Prompt
  115. #
  116. # Set the prompt theme to load.
  117. # Setting it to 'random' loads a random theme.
  118. # Auto set to 'off' on dumb terminals.
  119. zstyle ':prezto:module:prompt' theme 'frost'
  120. # Set the working directory prompt display length.
  121. # By default, it is set to 'short'. Set it to 'long' (without '~' expansion)
  122. # for longer or 'full' (with '~' expansion) for even longer prompt display.
  123. # zstyle ':prezto:module:prompt' pwd-length 'short'
  124. # Set the prompt to display the return code along with an indicator for non-zero
  125. # return codes. This is not supported by all prompts.
  126. # zstyle ':prezto:module:prompt' show-return-val 'yes'
  127. #
  128. # Python
  129. #
  130. # Auto switch the Python virtualenv on directory change.
  131. # zstyle ':prezto:module:python:virtualenv' auto-switch 'yes'
  132. # Automatically initialize virtualenvwrapper if pre-requisites are met.
  133. # zstyle ':prezto:module:python:virtualenv' initialize 'yes'
  134. #
  135. # Ruby
  136. #
  137. # Auto switch the Ruby version on directory change.
  138. # zstyle ':prezto:module:ruby:chruby' auto-switch 'yes'
  139. #
  140. # Screen
  141. #
  142. # Auto start a session when Zsh is launched in a local terminal.
  143. # zstyle ':prezto:module:screen:auto-start' local 'yes'
  144. # Auto start a session when Zsh is launched in a SSH connection.
  145. # zstyle ':prezto:module:screen:auto-start' remote 'yes'
  146. #
  147. # SSH
  148. #
  149. # Set the SSH identities to load into the agent.
  150. # zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github'
  151. #
  152. # Syntax Highlighting
  153. #
  154. # Set syntax highlighters.
  155. # By default, only the main highlighter is enabled.
  156. # zstyle ':prezto:module:syntax-highlighting' highlighters \
  157. # 'main' \
  158. # 'brackets' \
  159. # 'pattern' \
  160. # 'line' \
  161. # 'cursor' \
  162. # 'root'
  163. #
  164. # Set syntax highlighting styles.
  165. # zstyle ':prezto:module:syntax-highlighting' styles \
  166. # 'builtin' 'bg=blue' \
  167. # 'command' 'bg=blue' \
  168. # 'function' 'bg=blue'
  169. #
  170. # Set syntax pattern styles.
  171. # zstyle ':prezto:module:syntax-highlighting' pattern \
  172. # 'rm*-rf*' 'fg=white,bold,bg=red'
  173. #
  174. # Terminal
  175. #
  176. # Auto set the tab and window titles.
  177. zstyle ':prezto:module:terminal' auto-title 'yes'
  178. # Set the window title format.
  179. zstyle ':prezto:module:terminal:window-title' format "%n@%m: %s"
  180. # Set the tab title format.
  181. # zstyle ':prezto:module:terminal:tab-title' format '%m: %s'
  182. # Set the terminal multiplexer title format.
  183. # zstyle ':prezto:module:terminal:multiplexer-title' format '%s'
  184. #
  185. # Tmux
  186. #
  187. # Auto start a session when Zsh is launched in a local terminal.
  188. # zstyle ':prezto:module:tmux:auto-start' local 'yes'
  189. # Auto start a session when Zsh is launched in a SSH connection.
  190. # zstyle ':prezto:module:tmux:auto-start' remote 'yes'
  191. # Integrate with iTerm2.
  192. # zstyle ':prezto:module:tmux:iterm' integrate 'yes'
  193. # Set the default session name:
  194. # zstyle ':prezto:module:tmux:session' name 'YOUR DEFAULT SESSION NAME'
  195. #
  196. # Utility
  197. #
  198. # Enabled safe options. This aliases cp, ln, mv and rm so that they prompt
  199. # before deleting or overwriting files. Set to 'no' to disable this safer
  200. # behavior.
  201. # zstyle ':prezto:module:utility' safe-ops 'yes'
  202. # Local Variables:
  203. # mode: sh
  204. # End: