Open rzach opened 1 year ago
I used pip3 install thefuck --user
as well as pip3 install thefuck --user
on ubutnu 22.04 and terminal didn't recognize the command
I added the following on my ~/.zshrc
with no luck
eval $(thefuck --alias)
eval $(thefuck --alias FUCK)
alias f="fuck"
OS:
Distributor ID: Ubuntu
Description: Ubuntu 22.04.3 LTS
Release: 22.04
Codename: jammy
Apparently, apt now has thefuck available as a package to install sudo apt-get install thefuck
You still have to make an edit to your shell profile to add the alias, but it's so much easier than dealing with the nuisance of setting up a virtual python environments these newer versions of python scream for.
I like the apt way better, but otherwise one could run
pipx install thefuck
given that pipx
is available (or run sudo apt-get install pipx
, to make it available).
On Ubuntu 23.04 I get the following error when I try
pip3 install thefuck --user
(I did manage to install it using
pipx install thefuck
.)