2011-11-06 12:24:33 +00:00
|
|
|
#
|
2018-08-07 18:42:02 +00:00
|
|
|
# Requires https://www.bruji.com/bwana/
|
2011-11-06 12:24:33 +00:00
|
|
|
#
|
|
|
|
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"
|
2018-08-07 18:42:02 +00:00
|
|
|
echo "To use it within Zsh, install it from https://www.bruji.com/bwana/"
|
2011-11-06 12:24:33 +00:00
|
|
|
fi
|