contrib/macos/sbm-run (358 bytes)
1 #!/bin/sh 2 3 # sbm-run: run bm with the tools in sbm.app. bm opens URLs in the default 4 # browser and uses the clipboard of macOS. Settings in the environment win. 5 6 bin=$(cd "$(dirname "$0")/bin" && pwd) 7 PATH=$bin:$PATH 8 SBM_OPEN=${SBM_OPEN:-open} 9 SBM_COPY=${SBM_COPY:-pbcopy} 10 SBM_PASTE=${SBM_PASTE:-pbpaste} 11 export PATH SBM_OPEN SBM_COPY SBM_PASTE 12 exec bm "$@"