a few handy fish functions
    
        | author | Steve Losh <steve@stevelosh.com> | 
    
        | date | Thu, 17 Sep 2015 16:32:54 +0000 | 
    
    
        | parents | ddcca1ccfdf3 | 
    
        | children | 634131bfbe10 | 
    
        | branches/tags | (none) | 
    
        | files | fish/functions/banner.fish fish/functions/ports.fish | 
Changes
    
--- /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
--- /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