From 19b925e741fa46d2222210469a4dffc34a634ebd Mon Sep 17 00:00:00 2001 From: Janosch Schwalm Date: Tue, 7 Aug 2018 20:42:02 +0200 Subject: use https everywhere (#6574) * use https everywhere * use https links on the files that are left Also, removed some broken links and updated redirections. --- plugins/bwana/bwana.plugin.zsh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/bwana') diff --git a/plugins/bwana/bwana.plugin.zsh b/plugins/bwana/bwana.plugin.zsh index 455da8621..b9a04793f 100644 --- a/plugins/bwana/bwana.plugin.zsh +++ b/plugins/bwana/bwana.plugin.zsh @@ -1,5 +1,5 @@ # -# Requires http://www.bruji.com/bwana/ +# Requires https://www.bruji.com/bwana/ # if [[ -e /Applications/Bwana.app ]] || ( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana ) @@ -9,5 +9,5 @@ then } 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/" + echo "To use it within Zsh, install it from https://www.bruji.com/bwana/" fi -- cgit v1.2.3-70-g09d2 From 30125e10a60134e08f9ce411f2b2ebdd67face35 Mon Sep 17 00:00:00 2001 From: Erwan ROUSSEL Date: Tue, 30 Oct 2018 15:55:35 +0100 Subject: bwana: add README (#7369) --- plugins/bwana/README.md | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 plugins/bwana/README.md (limited to 'plugins/bwana') diff --git a/plugins/bwana/README.md b/plugins/bwana/README.md new file mode 100644 index 000000000..8cbeaa32e --- /dev/null +++ b/plugins/bwana/README.md @@ -0,0 +1,9 @@ +# 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) +``` -- cgit v1.2.3-70-g09d2 From ecc1c6db8ce7d7def978d606365cd38a5f43c2d8 Mon Sep 17 00:00:00 2001 From: Dante Calderon Date: Mon, 15 Apr 2019 08:47:14 -0500 Subject: [bwana plugin] Change function name Fix #5732 Change name function from `man` to `bwana`. --- plugins/bwana/README.md | 6 ++++++ plugins/bwana/bwana.plugin.zsh | 4 ++-- 2 files changed, 8 insertions(+), 2 deletions(-) (limited to 'plugins/bwana') diff --git a/plugins/bwana/README.md b/plugins/bwana/README.md index 8cbeaa32e..454a2a0d3 100644 --- a/plugins/bwana/README.md +++ b/plugins/bwana/README.md @@ -7,3 +7,9 @@ To use it add bwana to the plugins array in your zshrc file. ```bash plugins=(... bwana) ``` + +## Functions + +| Function | Description | +| -------- | ---------------------------------------- | +| `bwana` | Works just like `man` | diff --git a/plugins/bwana/bwana.plugin.zsh b/plugins/bwana/bwana.plugin.zsh index b9a04793f..71c9eb18d 100644 --- a/plugins/bwana/bwana.plugin.zsh +++ b/plugins/bwana/bwana.plugin.zsh @@ -4,10 +4,10 @@ if [[ -e /Applications/Bwana.app ]] || ( system_profiler -detailLevel mini SPApplicationsDataType | grep -q Bwana ) then - function man() { + function bwana() { open "man:$1" } else - echo "Bwana lets you read man files in Safari through a man: URI scheme" + 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 -- cgit v1.2.3-70-g09d2 From 4456536a78e2bbcf4cace5a54bb1b61a77c8b0cd Mon Sep 17 00:00:00 2001 From: Marc Cornellà Date: Mon, 15 Apr 2019 16:46:58 +0200 Subject: Simplify explanation of bwana function --- plugins/bwana/README.md | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'plugins/bwana') diff --git a/plugins/bwana/README.md b/plugins/bwana/README.md index 454a2a0d3..dd4fe9f9c 100644 --- a/plugins/bwana/README.md +++ b/plugins/bwana/README.md @@ -8,8 +8,5 @@ To use it add bwana to the plugins array in your zshrc file. plugins=(... bwana) ``` -## Functions - -| Function | Description | -| -------- | ---------------------------------------- | -| `bwana` | Works just like `man` | +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. -- cgit v1.2.3-70-g09d2