Created
January 22, 2019 11:06
-
-
Save shizonic/ac6206fd56682c9bd4704d8d695bc71a to your computer and use it in GitHub Desktop.
This file contains hidden or 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
################ | |
# ZIM SETTINGS # | |
################ | |
# Set input mode to 'emacs' (default) or 'vi'. | |
zstyle ':zim:input' mode 'vi' | |
# Select what modules you would like enabled. Modules are sourced in the order given. | |
zstyle ':zim' modules \ | |
directory environment git git-info history input utility fasd \ | |
async pure \ | |
zsh-completions completion \ | |
zsh-autosuggestions zsh-syntax-highlighting history-substring-search | |
# Modules setup configuration. | |
# See https://github.com/zimfw/zimfw/blob/develop/README.md#module-customization | |
zstyle ':zim:module' zsh-completions 'url' 'zsh-users/zsh-completions' | |
zstyle ':zim:module' zsh-autosuggestions 'url' 'zsh-users/zsh-autosuggestions' | |
zstyle ':zim:module' zsh-syntax-highlighting 'url' 'zsh-users/zsh-syntax-highlighting' | |
zstyle ':zim:module' async 'url' 'mafredri/zsh-async' | |
zstyle ':zim:module' pure 'url' 'sindresorhus/pure' | |
zstyle ':zim:module' fasd 'url' 'fasd' | |
################### | |
# MODULE SETTINGS # | |
################### | |
# | |
# completion | |
# | |
# Set a custom path for the completion dump file. | |
# If none is provided, the default ${ZDOTDIR:-${HOME}}/.zcompdump is used. | |
#zstyle ':zim:completion' dumpfile "${ZDOTDIR:-${HOME}}/.zcompdump-${ZSH_VERSION}" | |
# | |
# environment | |
# | |
# Set the string below to the desired terminal title format string. | |
# The terminal title is redrawn upon directory change, however, variables like | |
# ${PWD} are only evaluated once. Use prompt expansion strings for dynamic data. | |
# See http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Simple-Prompt-Escapes | |
# For example, '%n@%m: %1~' corresponds to 'username@host: /current/directory'. | |
#zstyle ':zim:environment' termtitle '%n@%m: %1~' | |
# | |
# history | |
# | |
# Save the history in a custom file path. | |
# If none is provided, the default ${ZDOTDIR:-${HOME}}/.zhistory is used. | |
#HISTFILE=${ZDOTDIR:-${HOME}}/.zsh_history | |
# | |
# input | |
# | |
# Enable double-dot expansion. | |
# This appends '../' to your input for each '.' you type after an initial '..' | |
zstyle ':zim:input' double-dot-expand yes | |
# | |
# pacman | |
# | |
# Set an optional pacman frontend. | |
#zstyle ':zim:pacman' frontend 'powerpill' | |
# Load any helper scripts as defined here. | |
#zstyle ':zim:pacman' helpers 'aur' | |
# | |
# ssh | |
# | |
# Load these ssh identities with the ssh module. | |
zstyle ':zim:ssh' ids 'id_rsa' | |
# | |
# utility | |
# | |
# Enable spelling correction prompts. | |
# See http://zsh.sourceforge.net/Doc/Release/Options.html#index-CORRECT | |
#setopt CORRECT | |
# Set a custom spelling correction prompt. | |
#SPROMPT='zsh: correct %F{red}%R%f to %F{green}%r%f [nyae]? ' | |
# | |
# zsh-autosuggestions | |
# | |
# Customize the style that the suggestions are shown with. | |
# See https://github.com/zsh-users/zsh-autosuggestions/blob/master/README.md#suggestion-highlight-style | |
#ZSH_AUTOSUGGEST_HIGHLIGHT_STYLE='fg=10' | |
# | |
# zsh-syntax-highlighting | |
# | |
# Set what highlighters will be used. | |
# See https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md | |
ZSH_HIGHLIGHT_HIGHLIGHTERS=(main brackets) | |
# Customize the main highlighter styles. | |
# See https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters/main.md#how-to-tweak-it | |
#typeset -A ZSH_HIGHLIGHT_STYLES | |
#ZSH_HIGHLIGHT_STYLES[comment]='fg=10' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment