From 3e408db313870799c4f30516ec90f6916031d535 Mon Sep 17 00:00:00 2001 From: Austen Adler Date: Tue, 28 Nov 2017 16:33:33 -0500 Subject: [PATCH] Update update-sync-project --- shells/zshrc | 3 +++ 1 file changed, 3 insertions(+) diff --git a/shells/zshrc b/shells/zshrc index 3864793..2d74ef5 100644 --- a/shells/zshrc +++ b/shells/zshrc @@ -97,6 +97,9 @@ update-sync-project() { fi local ABSPATH="$(\dirname "$(\dirname "$(\readlink -e ~/.zshrc)")")" git -C "$ABSPATH" pull origin master + if (( $# > 0 )); then + "$ABSPATH/scripts/sync.sh" $* + fi } # Remove directory by removing subdirectories up a level dedir(){