nvbn/thefuck

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

Open

#1,159 建立於 2021年1月11日

在 GitHub 查看
 (2 留言) (0 反應) (0 負責人)Python (96,953 star) (3,949 fork)batch import
help wanted

描述

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.

貢獻者指南