Skip to content

Instantly share code, notes, and snippets.

@nickestrand
Created November 18, 2016 08:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save nickestrand/2681afcddbb00f3093653a39ef945ef6 to your computer and use it in GitHub Desktop.
Save nickestrand/2681afcddbb00f3093653a39ef945ef6 to your computer and use it in GitHub Desktop.
How to install thef*ck in your computer
# Install the python development packages
sudo apt-get install python-dev
# Install python pip
sudo apt-get install python-pip
# Install the setuptools module
sudo pip install setuptools
# Install thefuck
sudo pip install thefuck
# Once that is installed, open your .bashrc file
gedit ~/.bashrc
# Now paste the following at the end of the file and press Ctrl+S to
# save it
eval $(thefuck --alias fuck)
# If you're not comfortable with using the 'F' word, add another alias in
# your .bashrc and make it "Family friendly"
# I have the following entry in my .bashrc
alias fcuk='fuck'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment