You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@groovy.apache.org by "Thibault Kruse (JIRA)" <ji...@apache.org> on 2015/08/28 13:10:46 UTC

[jira] [Created] (GROOVY-7567) Groovysh File completion with hyphens broken

Thibault Kruse created GROOVY-7567:
--------------------------------------

             Summary: Groovysh File completion with hyphens broken
                 Key: GROOVY-7567
                 URL: https://issues.apache.org/jira/browse/GROOVY-7567
             Project: Groovy
          Issue Type: Bug
          Components: Groovysh
            Reporter: Thibault Kruse


To reproduce ('|' is cursor, <tab> means hitting tab):

{code}
$ touch foo.groovy
$ touch 'foo bar'
groovy:000> :load "foo|<tab>
groovy:000> :load "'foo.groovy ' // invalid double hyphens and trailing blank
{code}

I suggest handling whitespaces in filenames via escaped blanks, not hyphens.

See https://github.com/apache/incubator-groovy/pull/92



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)