1
0
mirror of https://github.com/dcarrillo/prezto.git synced 2024-12-22 18:38:00 +00:00

Add double slash after Bwana.app's man protocol

Safari 6's unified location and search bar can no longer tell the
difference between a protocol and a colon search.
This commit is contained in:
Sorin Ionescu 2013-05-21 13:50:22 -04:00
parent dbeb6d4e1a
commit e48dac79f3

View File

@ -9,7 +9,7 @@ function manb {
local page local page
if (( $# > 0 )); then if (( $# > 0 )); then
for page in "$@"; do for page in "$@"; do
open "man:$page" 2>/dev/null open "man://$page" 2>/dev/null
if (( $? != 0 )); then if (( $? != 0 )); then
print "$0: Bwana is not installed" >&2 print "$0: Bwana is not installed" >&2
break break