From 9d4df00e52ee795a992e26da0a49dc9e686fec4a Mon Sep 17 00:00:00 2001 From: Christian Bundy Date: Tue, 14 Oct 2014 16:41:39 -0700 Subject: [PATCH] Add --work-tree flag to work in .zprezto git repo --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 5c948741..804caedd 100644 --- a/README.md +++ b/README.md @@ -44,8 +44,8 @@ Updating Pull the latest changes and update submodules. - git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" pull - git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" submodule update --init --recursive + git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" --work-tree="${ZDOTDIR:-$HOME}/.zprezto" pull + git --git-dir "${ZDOTDIR:-$HOME}/.zprezto/.git" --work-tree="${ZDOTDIR:-$HOME}/.zprezto" submodule update --init --recursive Usage -----