]> git.rmz.io Git - dotfiles.git/blob - zsh/plugins/bwana/bwana.plugin.zsh
Squashed commit of the following + cleanup afterwards:
[dotfiles.git] / zsh / plugins / bwana / bwana.plugin.zsh
1 #
2 # Requires http://www.bruji.com/bwana/
3 #
4 if [[ -e /Applications/Bwana.app ]] ||
5 ( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana )
6 then
7 function man() {
8 open "man:$1"
9 }
10 else
11 echo "Bwana lets you read man files in Safari through a man: URI scheme"
12 echo "To use it within Zsh, install it from http://www.bruji.com/bwana/"
13 fi