Oh boy, I found/invented a tweak that I can't live without anymore. I use an MX Ergo trackball, not sure how it'd fare on a mouse, but here are the magic runes:
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Make zsh start INSTANTLY with this one weird trick. | |
# | |
# https://asciinema.org/a/274255 | |
# | |
# HOW TO USE | |
# | |
# 1. Download this script. | |
# | |
# curl -fsSL -o ~/instant-zsh.zsh https://gist.github.com/romkatv/8b318a610dc302bdbe1487bb1847ad99/raw | |
# |
This code contains some helper functions for testing xstate v5+ Actor and Machine behavior using Promise
s and "traditional" assertions (vs state-machine-based testing).
Maybe I'll put some examples here.