Don't tee *everything*

It gets real sloppy when vim or similarly noisy outputs are captured
This commit is contained in:
Sage Vaillancourt 2024-07-21 12:59:33 -04:00
parent 01b5af233f
commit 8fb076931d
1 changed files with 8 additions and 8 deletions

View File

@ -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
}