nvbn/thefuck

Feature Request: Correct me when I type `figlet moo | cowsay`

Open

#1,159 opened on Jan 11, 2021

 (2 comments) (0 reactions) (0 assignees)Python (3,959 forks)batch import
help wanted

Repository metrics

Stars
 (97,710 stars)
PR merge metrics
 (No merged PRs in 30d)

Description

I would love for fuck to fix when I forget the -n piping figlet into cowsay:

⋊> ~ figlet moo | cowsay -n                                             15:38:05
 _________________________
/                         \
|  _ __ ___   ___   ___   |
| | '_ ` _ \ / _ \ / _ \  |
| | | | | | | (_) | (_) | |
| |_| |_| |_|\___/ \___/  |
\                         /
 -------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
⋊> ~ figlet moo | cowsay                                                15:38:09
 _________________________________________
/                                         \
|                                         |
| _ __ ___ ___ ___ | '_ ` _ \ / _ \ / _ \ |
| | | | | | | (_) | (_) | |_| |_|         |
\ |_|\___/ \___/                          /
 -----------------------------------------
        \   ^__^
         \  (oo)\_______
            (__)\       )\/\
                ||----w |
                ||     ||
⋊> ~ fuck                                                               15:38:10
No fucks given

I'll write a custom rule for this after work today for my own system, I'm more just checking if anyone else wants a copy when I'm done.

Contributor guide