Removing plugin that was named after an external tool, which carries a history as a racist phrase. Was reported by a user of OMZ who shared some background on the terminology and how it made them feel. (#8027)
parent
17f4cfca99
commit
508cba2fc2
2 changed files with 0 additions and 25 deletions
@ -1,12 +0,0 @@ |
|||||||
# Bwana |
|
||||||
|
|
||||||
This plugin provides a function to open `man` pages directly with [Bwana](https://www.bruji.com/bwana/). |
|
||||||
|
|
||||||
To use it add bwana to the plugins array in your zshrc file. |
|
||||||
|
|
||||||
```bash |
|
||||||
plugins=(... bwana) |
|
||||||
``` |
|
||||||
|
|
||||||
The `bwana` function opens the man page of the passed argument in the Bwana app. |
|
||||||
For example: `bwana ln` opens the man page for `ln` in Bwana. |
|
||||||
@ -1,13 +0,0 @@ |
|||||||
# |
|
||||||
# Requires https://www.bruji.com/bwana/ |
|
||||||
# |
|
||||||
if [[ -e /Applications/Bwana.app ]] || |
|
||||||
( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana ) |
|
||||||
then |
|
||||||
function bwana() { |
|
||||||
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 https://www.bruji.com/bwana/" |
|
||||||
fi |
|
||||||
Loading…
Reference in new issue