These are some custom rules used for thefuck. Just git clone git@github.com:ahrenstein/thefuck-rules.git ~/.config/thefuck/rules/ and you'll be good to go
- Common spell check corrections for "ahrenstein"
- Fix "cd //" by undoing and then performing "cd .."
- Spelling correction for "gut" to "git"
- Spelling correction for "lcok" to "lock"
- Spelling correction for "roto" to "root"
- Add the "root" alias to the built in ssh_known_hosts correction
- Autocorrect "master" to "main" when trying to checkout master on repos that don't have it