_man(): manpath doesn't exist on Sorceror Linux, so use man --path instead
This commit is contained in:
parent
4351ae5a0b
commit
705b6b76ff
@ -1,6 +1,6 @@
|
||||
# bash_completion - some programmable completion functions for bash 2.05a
|
||||
#
|
||||
# $Id: bash_completion,v 1.135 2002/02/20 01:12:52 ianmacd Exp $
|
||||
# $Id: bash_completion,v 1.136 2002/02/20 03:56:08 ianmacd Exp $
|
||||
#
|
||||
# Copyright (C) Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
@ -295,7 +295,7 @@ _man()
|
||||
return 0
|
||||
fi
|
||||
|
||||
manpath=$( manpath )
|
||||
manpath=$( man --path )
|
||||
if [ -z "$manpath" ]; then
|
||||
COMPREPLY=( $( compgen -c $cur ) )
|
||||
return 0
|
||||
|
Loading…
x
Reference in New Issue
Block a user