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(){