750d3ac4b493dca13ef0ced55fa6a2cd02dc7ee8
- Author
- Sidar <65621366+Maple38@users.noreply.github.com>
- Committer
- GitHub <noreply@github.com>
- Date
Message
Diff
1diff --git a/plugins/macos/macos.plugin.zsh b/plugins/macos/macos.plugin.zsh
2index 6ddf31ecf05db9675cea531fdee0ed72c74f9c85..4d73d22c310fb645389e800bc5aaf34eab7297c2 100644
3--- a/plugins/macos/macos.plugin.zsh
4+++ b/plugins/macos/macos.plugin.zsh
5@@ -271,7 +271,7 @@ function man-preview() {
6 [[ $# -eq 0 ]] && >&2 echo "Usage: $0 command1 [command2 ...]" && return 1
7
8 local page
9- for page in "${(@f)"$(man -w $@)"}"; do
10+ for page in "${(@f)"$(command man -w $@)"}"; do
11 command mandoc -Tpdf $page | open -f -a Preview
12 done
13 }