From 96f7577d0da564dc4ea194c3b862869b6f5e13dc Mon Sep 17 00:00:00 2001 From: Sylvestre Antoine Date: Fri, 23 Jun 2017 17:19:49 +0200 Subject: [PATCH] Update zpreztorc Make a .zpreztorc.local that are not versioned in order to make update on prezto easier. --- runcoms/zpreztorc | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/runcoms/zpreztorc b/runcoms/zpreztorc index 690add7a..af9a7f57 100644 --- a/runcoms/zpreztorc +++ b/runcoms/zpreztorc @@ -7,6 +7,13 @@ # # General +# This file define the mains settings for zprezto +# If you want customization follow theses steps : +# * cd "${ZDOTDIR:-$HOME}" +# * cp .zpreztorc .zpreztorc.local +# * Then edit the .zpreztorc.local +# It will avoid you to have trouble when trying to update +# Prezto # # Set case-sensitivity for completion, history lookup, etc. @@ -186,3 +193,8 @@ zstyle ':prezto:module:prompt' theme 'sorin' # Set the default session name: # zstyle ':prezto:module:tmux:session' name 'YOUR DEFAULT SESSION NAME' + +# Load zpreztorc.local +if [[ -s "${ZDOTDIR:-$HOME}/.zpreztorc.local" ]]; then + source "${ZDOTDIR:-$HOME}/.zpreztorc.local" +fi