Skip to content

Instantly share code, notes, and snippets.

@XenGi
Last active April 8, 2017 17:46
Show Gist options
  • Save XenGi/536428c1eb6554e9876c83ab8826bc13 to your computer and use it in GitHub Desktop.
Save XenGi/536428c1eb6554e9876c83ab8826bc13 to your computer and use it in GitHub Desktop.
Rage quit support for fish shell
# ~/.config/fish/functions/fuckyou.fish
# usage: fuckyou firefox
# dependencies: toilet
function fuckyou --description "Rage quit support for fish"
killall -9 $argv[1]
if test $status = 0
echo
echo (set_color brred)" (╯°□°)╯"(set_color bryellow)"︵"(set_color FFBF00) (echo $argv[1] | toilet -f term -F rotate)(set_color normal)
echo
else
echo
echo (set_color brred)" ヽ(`Д´)ノ"(set_color normal)
echo
end
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment