Skip to content

Instantly share code, notes, and snippets.

@dogtopus
Created July 14, 2021 20:29
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 dogtopus/a7febb876e1c9758501ff411a7419478 to your computer and use it in GitHub Desktop.
Save dogtopus/a7febb876e1c9758501ff411a7419478 to your computer and use it in GitHub Desktop.
im a girl btw
# Invokes [thefuck](https://github.com/nvbn/thefuck) when typing
# 'im a girl btw' in the shell.
#
# Inspired by Beluga's discord series. https://www.youtube.com/c/Beluga1
#
# Installation: add to anywhere in .bashrc.
#
# Effect:
#
# $ pacman -Syu
# error: you cannot perform this operation unless you are root.
# $ im a girl btw
# sudo pacman -Syu [enter/↑/↓/ctrl+c]
# [sudo] password for user:
# :: Synchronizing package databases...
im() {
if [[ "${@}" = 'a girl btw' ]]; then
fuck
else
command im "${@}"
fi
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment