parent
954e942097
commit
3f585b46e6
@ -1,3 +1,6 @@ |
||||
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$HOME/.rbenv/bin:$PATH" |
||||
eval "$(rbenv init -)" |
||||
which rbenv &>/dev/null |
||||
if [[ $? -eq 0 ]]; then |
||||
export PATH="$HOME/.rbenv/plugins/ruby-build/bin:$HOME/.rbenv/bin:$PATH" |
||||
eval "$(rbenv init -)" |
||||
fi |
||||
|
||||
|
@ -1,96 +1,39 @@ |
||||
|
||||
|
||||
################# |
||||
# 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 git-info history input utility custom \ |
||||
syntax-highlighting history-substring-search prompt completion) |
||||
|
||||
|
||||
################### |
||||
# MODULE SETTINGS # |
||||
################### |
||||
# Start configuration added by Zim install {{{ |
||||
# ------- |
||||
# Modules |
||||
# ------- |
||||
|
||||
# Sets sane Zsh built-in environment options. |
||||
zmodule environment |
||||
# Provides handy git aliases and functions. |
||||
zmodule git |
||||
# Applies correct bindkeys for input events. |
||||
zmodule input |
||||
# Sets a custom terminal title. |
||||
zmodule termtitle |
||||
# Utility aliases and functions. Adds colour to ls, grep and less. |
||||
zmodule utility |
||||
|
||||
# |
||||
# 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) |
||||
zhighlighters=(main brackets) |
||||
|
||||
|
||||
# |
||||
# SSH |
||||
# |
||||
|
||||
# Load these ssh identities with the ssh module |
||||
#zssh_ids=(id_rsa) |
||||
|
||||
|
||||
# |
||||
# Pacman |
||||
# |
||||
|
||||
# Set (optional) pacman front-end. |
||||
#zpacman_frontend='powerpill' |
||||
#zpacman_frontend='pacmatic' |
||||
|
||||
# Load any helper scripts as defined here |
||||
#zpacman_helper=(aur) |
||||
#zpacman_helper=(aur) |
||||
# Exposes git repository status information to prompts. |
||||
zmodule git-info |
||||
# A customizable version of steeef's prompt theme. |
||||
zmodule eriner |
||||
|
||||
# Additional completion definitions for Zsh. |
||||
zmodule zsh-users/zsh-completions |
||||
# Enables and configures smart and extensive tab completion. |
||||
# completion must be sourced after zsh-users/zsh-completions |
||||
zmodule completion |
||||
# Fish-like autosuggestions for Zsh. |
||||
zmodule zsh-users/zsh-autosuggestions |
||||
# Fish-like syntax highlighting for Zsh. |
||||
# zsh-users/zsh-syntax-highlighting must be sourced after completion |
||||
zmodule zsh-users/zsh-syntax-highlighting |
||||
# Fish-like history search (up arrow) for Zsh. |
||||
# zsh-users/zsh-history-substring-search must be sourced after zsh-users/zsh-syntax-highlighting |
||||
zmodule zsh-users/zsh-history-substring-search |
||||
# }}} End configuration added by Zim install |
||||
|
||||
|
@ -1,8 +1,9 @@ |
||||
|
||||
|
||||
# Start configuration added by Zim install {{{ |
||||
# |
||||
# User configuration sourced by login shells |
||||
# |
||||
|
||||
# Initialize zim |
||||
[[ -s ${ZIM_HOME}/login_init.zsh ]] && source ${ZIM_HOME}/login_init.zsh |
||||
# Initialize Zim |
||||
source ${ZIM_HOME}/login_init.zsh -q &! |
||||
# }}} End configuration added by Zim install |
||||
|
||||
|
@ -0,0 +1,9 @@ |
||||
# Start configuration added by Zim install {{{ |
||||
# |
||||
# User configuration sourced by all invocations of the shell |
||||
# |
||||
|
||||
# Define Zim location |
||||
: ${ZIM_HOME=${ZDOTDIR:-${HOME}}/.zim} |
||||
# }}} End configuration added by Zim install |
||||
|
Loading…
Reference in new issue