function to display waypoint in browser quickly
authorThorsten Glaser <tg@mirbsd.org>
Sun, 20 Jul 2014 16:37:55 +0000 (16:37 +0000)
committerThorsten Glaser <tg@mirbsd.org>
Sun, 20 Jul 2014 16:37:55 +0000 (16:37 +0000)
posix/profile-funcs

index 78979ce..dd71220 100644 (file)
@@ -67,6 +67,11 @@ sprunge() {
        curl -F 'sprunge=<-' http://sprunge.us
 }
 
+# geocaching (and related) waypoint
+wp() {
+       ${BROWSER:-lynx} "http://www.mirbsd.org/wp.cgi?$1"
+}
+
 # DuckDuckGo search
 ddg() {
        local _q _IFS