for your consideration: two git aliases that are very useful for debugging CI workflows

[alias]
oops = commit --amend --no-edit
yolo = "!yolo() { git add -- \"$@\"; git oops; git push --force-with-lease; }; yolo"
@whitequark I survived my run-ins with CI with one-liners and shell history search, but I might steal those ^^
@lina my shell history is 74k lines long and by gods will I refer to every one of them later

@whitequark

$ wc -l .zsh_history
37572 .zsh_history

This machine is just barely over 2 years old.

Previous:

23901 .zsh_history

Previous previous:

203517 .zsh_history

I stopped carrying it over because I realized zsh was rewriting the entire file on logout and that was slowing down closing shells...

@lina @whitequark
APPEND_HISTORY
@tthbaltazar @whitequark I have inc_append_history but there was still something making it do a full scan, it's been a while I forgot.
@lina @whitequark
full scan? what does that mean?
@tthbaltazar @whitequark I mean a linear read/write through the whole file or whatever. I forgot what it was exactly.