mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-18 18:31:59 +00:00
14 lines
368 B
Bash
14 lines
368 B
Bash
|
#
|
||
|
# 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
|