From: Penny Leach Date: Fri, 30 Apr 2010 14:46:36 +0000 (+0200) Subject: initial commit X-Git-Url: http://git.mjollnir.org/gw?a=commitdiff_plain;h=22c44c6b909558da94141f6ca76daa50736dab40;p=dotfiles%2Flbdbq.git initial commit --- 22c44c6b909558da94141f6ca76daa50736dab40 diff --git a/.lbdb/lbdbrc b/.lbdb/lbdbrc new file mode 100644 index 0000000..7c6555f --- /dev/null +++ b/.lbdb/lbdbrc @@ -0,0 +1,3 @@ +METHODS="m_abook m_ldap m_google" +MODULES_PATH="$MODULES_PATH $HOME/.lbdb/modules" + diff --git a/.lbdb/modules/m_google b/.lbdb/modules/m_google new file mode 100644 index 0000000..253e982 --- /dev/null +++ b/.lbdb/modules/m_google @@ -0,0 +1,5 @@ +#! /bin/bash -posix + +m_google_query () { + goobook query "$@" | grep -v '^$' | sed -e 's/$/\tgoogle/' +}