Update update-sync-project

This commit is contained in:
Austen Adler 2017-11-28 16:33:33 -05:00
parent b574799f63
commit 3e408db313

View File

@ -97,6 +97,9 @@ update-sync-project() {
fi fi
local ABSPATH="$(\dirname "$(\dirname "$(\readlink -e ~/.zshrc)")")" local ABSPATH="$(\dirname "$(\dirname "$(\readlink -e ~/.zshrc)")")"
git -C "$ABSPATH" pull origin master git -C "$ABSPATH" pull origin master
if (( $# > 0 )); then
"$ABSPATH/scripts/sync.sh" $*
fi
} }
# Remove directory by removing subdirectories up a level # Remove directory by removing subdirectories up a level
dedir(){ dedir(){