Skip to content

Instantly share code, notes, and snippets.

@supirman
Created April 17, 2017 06:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save supirman/3f5b00571e031de10c36e9c545de0b33 to your computer and use it in GitHub Desktop.
Save supirman/3f5b00571e031de10c36e9c545de0b33 to your computer and use it in GitHub Desktop.
.zshrc & .zimrc
#################
# CORE SETTINGS #
#################
#
# Zim settings
#
# Select what modules you would like enabled.
# The second line of modules may depend on options set by modules in the first line.
# These dependencies are noted on the respective module's README.md.
zmodules=(directory environment git history input utility meta custom \
syntax-highlighting history-substring-search prompt completion)
###################
# MODULE SETTINGS #
###################
#
# Prompt
#
# Set your desired prompt here
zprompt_theme='eriner'
#
# Completion
#
# set an optional host-specific filename for the completion cache file
# if none is provided, the default '.zcompdump' is used.
#zcompdump_file=".zcompdump-${HOST}-${ZSH_VERSION}"
#
# Utility
#
# Uncomment to enable command correction prompts
# See: http://zsh.sourceforge.net/Doc/Release/Options.html#Input_002fOutput
setopt CORRECT
#
# 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:
# http://zsh.sourceforge.net/Doc/Release/Prompt-Expansion.html#Simple-Prompt-Escapes
# The example below uses the following format: 'username@host:/current/directory'
ztermtitle='%n@%m:%~'
#
# Input
#
# Uncomment to enable double-dot expansion.
# This appends '../' to your input for each '.' you type after an initial '..'
zdouble_dot_expand='true'
#
# Syntax-Highlighting
#
# This determines what highlighters will be used with the syntax-highlighting module.
# Documentation of the highlighters can be found here:
# https://github.com/zsh-users/zsh-syntax-highlighting/blob/master/docs/highlighters.md
# For (u)rxvt, termite and gnome-terminal users,
# removing the 'cursor' highlighter will fix the disappearing cursor problem
zhighlighters=(main brackets cursor)
#
# SSH
#
# Load these ssh identities with the ssh module
zssh_ids=(id_rsa)
#
# Pacman
#
# Set (optional) pacman front-end.
#zpacman_frontend='powerpill'
# Load any helper scripts as defined here
#zpacman_helper=(aur)
#
# User configuration sourced by interactive shells
#
# Source zim
if [[ -s ${ZDOTDIR:-${HOME}}/.zim/init.zsh ]]; then
source ${ZDOTDIR:-${HOME}}/.zim/init.zsh
fi
# tabtab source for yarn package
# uninstall by removing these lines or running `tabtab uninstall yarn`
[[ -f /home/firman/.config/yarn/global/node_modules/tabtab/.completions/yarn.zsh ]] && . /home/firman/.config/yarn/global/node_modules/tabtab/.completions/yarn.zsh
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment