nvbn / thefuck

Magnificent app which corrects your previous console command.
MIT License
84.92k stars 3.43k forks source link

apt command completion error #1439

Open strange-qwq opened 5 months ago

strange-qwq commented 5 months ago

The output of thefuck --version:

The Fuck 3.29 using Python 3.10.12 and Bash 5.1.16(1)-release

Your system (Debian 7, ArchLinux, Windows, etc.):

Ubuntu 22.04.4 LTS for wsl

How to reproduce the bug:

root@QWQ:/# yum install mysql-server
Unable to find command 'yum'

root@QWQ:/# fuck
yum.sh install mysql-server [enter/↑/↓/ctrl+c]

Press the ↓ key

apt install openssh-server [enter/↑/↓/ctrl+c]

Where does openssh-server come from? I think at this point, the output should be apt install mysql-server.