fish/functions/eatshit.fish @ 3d37ca22c5c5 bpollack/use-command-to-explicitly-call-ag-and-us-1442506830050

Use command to explicitly call ag, and use compound if block
author Benjamin Pollack <benjamin@bitquabit.com>
date Thu, 17 Sep 2015 16:20:42 +0000
parents 5de0fef33bc7
children (none)
function eatshit
    if test "$argv[1]" = '-u'
        echo -n 'http://bit.ly/eat-shit' | pbcopy
    else
        echo -n '≣:D ⊃-' | pbcopy
    end
end