Don't tee *everything*
It gets real sloppy when vim or similarly noisy outputs are captured
This commit is contained in:
parent
01b5af233f
commit
8fb076931d
|
@ -233,7 +233,7 @@ function lockfor {
|
||||||
|
|
||||||
lock-wait "$file" "$seconds"
|
lock-wait "$file" "$seconds"
|
||||||
touch "$file"
|
touch "$file"
|
||||||
$3 $4 $5 $6 $7 $8 $9 $10 | tee -a "$file"
|
$3 $4 $5 $6 $7 $8 $9 $10
|
||||||
rm "$file"
|
rm "$file"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -257,9 +257,9 @@ function _pushdot {
|
||||||
git push -u origin main
|
git push -u origin main
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
push-extensions
|
push-extensions | tee -a "$SYNC_LOCK_FILE"
|
||||||
sync-history
|
sync-history | tee -a "$SYNC_LOCK_FILE"
|
||||||
push-dconf
|
push-dconf | tee -a "$SYNC_LOCK_FILE"
|
||||||
cd -
|
cd -
|
||||||
return $res
|
return $res
|
||||||
}
|
}
|
||||||
|
@ -297,11 +297,11 @@ function _getdot {
|
||||||
fi
|
fi
|
||||||
dot-lock-wait
|
dot-lock-wait
|
||||||
cd "$DOT_DIR" || return 1
|
cd "$DOT_DIR" || return 1
|
||||||
git pull && ./copy.sh
|
git pull && ./copy.sh | tee -a "$SYNC_LOCK_FILE"
|
||||||
|
|
||||||
sync-history
|
sync-history | tee -a "$SYNC_LOCK_FILE"
|
||||||
load-extensions
|
load-extensions | tee -a "$SYNC_LOCK_FILE"
|
||||||
[[ "$1" != "--skip-dconf" ]] && sync-dconf
|
[[ "$1" != "--skip-dconf" ]] && sync-dconf | tee -a "$SYNC_LOCK_FILE"
|
||||||
|
|
||||||
cd - > /dev/null
|
cd - > /dev/null
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue