Last active
April 8, 2017 17:46
-
-
Save XenGi/536428c1eb6554e9876c83ab8826bc13 to your computer and use it in GitHub Desktop.
Rage quit support for fish shell
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# ~/.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