- transpose two lines
This commit is contained in:
parent
de7b54db76
commit
35ee4662b3
@ -1,6 +1,6 @@
|
||||
# ri completion for Ruby documentation by Ian Macdonald <ian@caliban.org>
|
||||
#
|
||||
# $Id: ri,v 1.5 2003/12/31 08:18:08 ianmacd Exp $
|
||||
# $Id: ri,v 1.6 2003/12/31 08:47:38 ianmacd Exp $
|
||||
#
|
||||
ri_get_methods()
|
||||
{
|
||||
@ -41,8 +41,8 @@ _ri()
|
||||
COMPREPLY=()
|
||||
cur=${COMP_WORDS[COMP_CWORD]}
|
||||
|
||||
# which version of ri are we using?
|
||||
ri_path=$(type -p ri)
|
||||
# which version of ri are we using?
|
||||
# -W0 is required here to stop warnings from older versions of ri
|
||||
# from being captured when used with Ruby 1.8.1 and later
|
||||
ri_version="$(ruby -W0 $ri_path -v 2>&1)" || ri_version=integrated
|
||||
|
Loading…
x
Reference in New Issue
Block a user