Created
January 5, 2018 07:23
-
-
Save drewlustro/4c29c2fe461146f605a4d27467da0c46 to your computer and use it in GitHub Desktop.
My .zpreztorc on SAGE (2013 rMPB)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Sets Prezto options. | |
# | |
# Authors: | |
# Drew Lustro <[email protected]> | |
# Sorin Ionescu <[email protected]> | |
# | |
# | |
# General | |
# | |
# Set case-sensitivity for completion, history lookup, etc. | |
# zstyle ':prezto:*:*' case-sensitive 'yes' | |
# Color output (auto set to 'no' on dumb terminals). | |
zstyle ':prezto:*:*' color 'yes' | |
# Set the Zsh modules to load (man zshmodules). | |
# zstyle ':prezto:load' zmodule 'attr' 'stat' | |
# Set the Zsh functions to load (man zshcontrib). | |
# zstyle ':prezto:load' zfunction 'zargs' 'zmv' | |
# Set the Prezto modules to load (browse modules). | |
# The order matters. | |
zstyle ':prezto:load' pmodule \ | |
'archive' \ | |
'completion' \ | |
'directory' \ | |
'editor' \ | |
'environment' \ | |
'homebrew' \ | |
'spectrum' \ | |
'syntax-highlighting' \ | |
'history' \ | |
'history-substring-search' \ | |
'autosuggestions' \ | |
'completion' \ | |
'prompt' | |
# | |
# Editor | |
# | |
# Set the key mapping style to 'emacs' or 'vi'. | |
zstyle ':prezto:module:editor' key-bindings 'emacs' | |
# Auto convert .... to ../.. | |
# zstyle ':prezto:module:editor' dot-expansion 'yes' | |
# | |
# Git | |
# | |
# Ignore submodules when they are 'dirty', 'untracked', 'all', or 'none'. | |
zstyle ':prezto:module:git:status:ignore' submodules 'all' | |
zstyle ':prezto:module:git:log:context' format 'brief' | |
zstyle ':prezto:module:git:status:ignore' submodules 'all' | |
zstyle ':prezto:module:git:info:context:subcontext' format 'string' | |
# | |
# GNU Utility | |
# | |
# Set the command prefix on non-GNU systems. | |
zstyle ':prezto:module:gnu-utility' prefix 'g' | |
# | |
# History Substring Search | |
# | |
# Set the query found color. | |
zstyle ':prezto:module:history-substring-search:color' found '' | |
# # Set the query not found color. | |
zstyle ':prezto:module:history-substring-search:color' not-found '' | |
# # Set the search globbing flags. | |
zstyle ':prezto:module:history-substring-search' globbing-flags '' | |
# Prompt | |
# | |
# Set the prompt theme to load. | |
# Setting it to 'random' loads a random theme. | |
# Auto set to 'off' on dumb terminals. | |
# Default | |
#zstyle ':prezto:module:prompt' theme 'sorin' | |
# Drew chosen (peepcode) | |
# zstyle ':prezto:module:prompt' theme 'peepcode' | |
zstyle ':prezto:module:prompt' theme 'pure' | |
# | |
# SSH | |
# | |
# Set the SSH identities to load into the agent. | |
# zstyle ':prezto:module:ssh:load' identities 'id_rsa' 'id_rsa2' 'id_github' | |
# | |
# Syntax Highlighting | |
# | |
zstyle ':prezto:module:syntax-highlighting' color 'yes' | |
# Set syntax highlighters. | |
# By default, only the main highlighter is enabled. | |
zstyle ':prezto:module:syntax-highlighting' highlighters \ | |
'main' \ | |
'brackets' \ | |
'pattern' \ | |
'line' \ | |
'cursor' \ | |
'root' | |
# Set syntax highlighting styles. | |
zstyle ':prezto:module:syntax-highlighting' styles \ | |
'builtin' 'bg=yellow' \ | |
'command' 'bg=blue' \ | |
'function' 'bg=magenta' | |
# | |
# Terminal | |
# | |
# Auto set the tab and window titles. | |
zstyle ':prezto:module:terminal' auto-title 'yes' | |
# Set the window title format. | |
zstyle ':prezto:module:terminal:window-title' format '%n@%m: %s' | |
# Set the tab title format. | |
zstyle ':prezto:module:terminal:tab-title' format '%m: %s' | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment