Merge pull request #1084 from avit/bwana-plugin

Bwana plugin for reading man pages in the browser
This commit is contained in:
Robby Russell 2012-12-05 07:21:33 -08:00
commit 6d7a275972

View File

@ -0,0 +1,13 @@
#
# Requires http://www.bruji.com/bwana/
#
if [[ -e /Applications/Bwana.app ]] ||
( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana )
then
function man() {
open "man:$1"
}
else
echo "Bwana lets you read man files in Safari through a man: URI scheme"
echo "To use it within Zsh, install it from http://www.bruji.com/bwana/"
fi