[MacPorts] #44558: bash-completion on ssh hostname adds bad function, causes syntax errors

MacPorts noreply at macports.org
Mon Aug 18 06:03:07 PDT 2014


#44558: bash-completion on ssh hostname adds bad function, causes syntax errors
--------------------------------+----------------------
  Reporter:  Daniel.Lipofsky@…  |      Owner:  raimue@…
      Type:  defect             |     Status:  new
  Priority:  Normal             |  Milestone:
 Component:  ports              |    Version:  2.3.1
Resolution:                     |   Keywords:
      Port:  bash-completion    |
--------------------------------+----------------------

Comment (by raimue@…):

 Somehow I can't reproduce this problem. I tried tab completion of
 hostnames for ssh with both a list presented and no list, but the test
 commands produced the same output as before and no error messages. I run
 bash as my login shell, but also testing in a newly spawned bash I can't
 reproduce it.

 {{{
 $ type _scp
 -bash: type: _scp: not found
 $ ssh foo.example.org<Tab>
 ...
 raimue at foo $ logout
 Connection to foo.example.org closed.
 $ type -t _scp
 function
 $ /opt/local/bin/bash -c "/bin/echo foobar"
 foobar
 $ /bin/bash -c "/bin/echo foobar"
 foobar
 $ /bin/sh -c "/bin/echo foobar"
 foobar
 $
 }}}

 {{{
 $ port -q installed bash* and active
   bash @4.3.18_0 (active)
   bash-completion-devel @2.1_7 (active)
 }}}

-- 
Ticket URL: <https://trac.macports.org/ticket/44558#comment:4>
MacPorts <http://www.macports.org/>
Ports system for OS X


More information about the macports-tickets mailing list