nvbn/thefuck

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

オープン

#1,159 opened on 2021/01/11

 (2 件のコメント) (0 件のリアクション) (0 人の担当者)Python (3,960 件のフォーク)batch import
help wanted

Repository metrics

Stars
 (97,740 個のスター)
PR merge metrics
 (PR metrics pending)

説明

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.

コントリビューターガイド