nvbn / thefuck

Magnificent app which corrects your previous console command.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

apt command completion error

strange-qwq opened this issue · comments

commented

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.