added geeknote plugin initial version

This commit is contained in:
Georg Ogris 2016-01-21 15:24:13 +01:00
commit 9fbdd76ea1

View file

@ -0,0 +1,19 @@
# ------------------------------------------------------------------------------
# FILE: geeknote.plugin.zsh
# DESCRIPTION: oh-my-zsh plugin file.
# AUTHOR: Georg Ogris (georg.ogris@gmail.com)
# VERSION: 0.0.1
# ------------------------------------------------------------------------------
# add to a new bookmark to Bookmarks
function gnb() {
local link=$1
shift 1
geeknote create --title '"'"$link"'"' \
--content '"'"$link"'"' \
--notebook '"Bookmarks"' \
--tags '"readings"'
#--tags '"'"$@"'"'
}