Open ishitatsuyuki opened 8 years ago
I got a similar behavior but not exactly like this. It corrects the typo, then simply says no fucks given. Still haven-t checked if it's pacman related or if I cannot chain-correct at all:
[Arch Linux \m/ ~]$ pacmn -S vim bash: pacmn: command not found [Arch Linux \m/ ~]$ fuck pacman -S vim [enter/↑/↓/ctrl+c] error: you cannot perform this operation unless you are root. [Arch Linux \m/ ~]$ fuck No fucks given
EDIT: I tried with the mount command, and it seems I just cannot chain-fuck at all. Seems like the fuck command tries to correct the previous fuck command
Couldn't we just make pacman automatically correct with sudo? Like I quickly whipped up here: https://github.com/Epse/thefuck/blob/pacmansudo/thefuck/rules/pacman.py
Example:
(Ignore powerline symbols)
Didn't found any duplicates in issue, but I'm not sure if this is already fixed.