Requirements
- python (3.4+)
- pip
- python-dev
- Installation
On Ubuntu / Mint, install The Fuck with the following commands:
sudo apt update
sudo apt install python3-dev python3-pip python3-setuptools
sudo pip3 install thefuck
source bashrc
# vim ~/.bashrc
# 在最后添加如下命令
eval $(thefuck --alias)
# You can use whatever you want as an alias, like for Mondays:
eval $(thefuck --alias FUCK)
# source ~/.bashrc