Commit | Line | Data |
---|---|---|
ef7583f8 FF |
1 | diff -u -r ../bash-completion-2.5/completions/man ./completions/man |
2 | --- ../bash-completion-2.5/completions/man 2016-09-04 17:26:26.000000000 +0200 | |
3 | +++ ./completions/man 2017-05-25 21:59:14.472791735 +0200 | |
4 | @@ -57,9 +57,7 @@ | |
5 | fi | |
6 | ||
7 | local manpath="$MANPATH" | |
8 | - [[ -z $manpath ]] && \ | |
9 | - manpath=$( manpath 2>/dev/null || command man -w 2>/dev/null ) | |
10 | - [[ -z $manpath ]] && manpath="/usr/share/man:/usr/local/share/man" | |
11 | + [[ -z $manpath ]] && manpath="@TERMUX_PREFIX@/share/man" | |
12 | ||
13 | # determine manual section to search | |
14 | local sect |