Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Ahh, the readline docs to the rescue.

  • Loading branch information...
commit a1b311efe53d278ade1864d3f31b031a4fba21a8 1 parent b6fec68
@jettero authored
Showing with 6 additions and 0 deletions.
  1. +6 −0 lib/Term/ReadLine/CLISH.pm
View
6 lib/Term/ReadLine/CLISH.pm
@@ -418,6 +418,12 @@ THE_WHIRLYGIGS: {
$this->safe_talk(sub{ debug(" matches text=$text; state=$state; \$m[$state]=$return;") }) if $ENV{CLISH_DEBUG};
$attribs->{completion_append_character} = $text =~ m/^(["'])/ ? "$1 " : ' ';
+ if( not $return and not $state ) {
+ # NOTE: this is only necessary when filename completion is not
+ # desired
+ $attribs->{attempted_completion_over} = 1;
+ }
+
return $return;
};
Please sign in to comment.
Something went wrong with that request. Please try again.