Add ` (backquote) to quoted characters for completion. From fgsch@openbsd.
Okayed by christos.
This commit is contained in:
parent
4296d7d483
commit
c31c26034b
@ -1,4 +1,4 @@
|
||||
/* $NetBSD: edit.c,v 1.8 2002/09/25 02:41:11 provos Exp $ */
|
||||
/* $NetBSD: edit.c,v 1.9 2003/05/06 11:34:01 wiz Exp $ */
|
||||
|
||||
/*
|
||||
* Command line editing - common code
|
||||
@ -1107,7 +1107,7 @@ x_escape(s, len, putbuf_func)
|
||||
int rval=0;
|
||||
|
||||
for (add = 0, wlen = len; wlen - add > 0; add++) {
|
||||
if (strchr("\\$(){}*&;|<>\"'", s[add]) || strchr(ifs, s[add])) {
|
||||
if (strchr("\\$(){}*&;|<>\"'`", s[add]) || strchr(ifs, s[add])) {
|
||||
if (putbuf_func(s, add) != 0) {
|
||||
rval = -1;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user