# HG changeset patch # User Steve Losh # Date 1442507574 0 # Node ID b70a423990d3d7f1c662ae73184113cd2ef076b2 # Parent ddcca1ccfdf3f2758433ffe1b6011acb4947f5d5 a few handy fish functions diff -r ddcca1ccfdf3 -r b70a423990d3 fish/functions/banner.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/banner.fish Thu Sep 17 16:32:54 2015 +0000 @@ -0,0 +1,3 @@ +function banner -d "Show a fun twitch banner" + figlet -f ogre -w9999 $argv | cowsay -W 9999 -n -p | lolcat +end diff -r ddcca1ccfdf3 -r b70a423990d3 fish/functions/ports.fish --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/fish/functions/ports.fish Thu Sep 17 16:32:54 2015 +0000 @@ -0,0 +1,3 @@ +function ports -d "List processes listening on various ports" + sudo lsof -iTCP -sTCP:LISTEN -P -n +end