diff --git a/fake_home/.zshrc b/fake_home/.zshrc index 7336871..0b25377 100644 --- a/fake_home/.zshrc +++ b/fake_home/.zshrc @@ -233,7 +233,7 @@ function lockfor { lock-wait "$file" "$seconds" touch "$file" - $3 $4 $5 $6 $7 $8 $9 $10 | tee -a "$file" + $3 $4 $5 $6 $7 $8 $9 $10 rm "$file" } @@ -257,9 +257,9 @@ function _pushdot { git push -u origin main fi fi - push-extensions - sync-history - push-dconf + push-extensions | tee -a "$SYNC_LOCK_FILE" + sync-history | tee -a "$SYNC_LOCK_FILE" + push-dconf | tee -a "$SYNC_LOCK_FILE" cd - return $res } @@ -297,11 +297,11 @@ function _getdot { fi dot-lock-wait cd "$DOT_DIR" || return 1 - git pull && ./copy.sh + git pull && ./copy.sh | tee -a "$SYNC_LOCK_FILE" - sync-history - load-extensions - [[ "$1" != "--skip-dconf" ]] && sync-dconf + sync-history | tee -a "$SYNC_LOCK_FILE" + load-extensions | tee -a "$SYNC_LOCK_FILE" + [[ "$1" != "--skip-dconf" ]] && sync-dconf | tee -a "$SYNC_LOCK_FILE" cd - > /dev/null }