rc

[fork] interactive rc shell
Log | Files | Refs | README | LICENSE

commit e477187400f55d5de0b06f6629d9b18d79ce2690
parent 16fadbd2cf8cfebbf3b2951f750b13d9816e36fa
Author: Toby Goodwin <toby@paccrat.org>
Date:   Sun, 31 Aug 2014 22:40:19 +0100

quoting for filename completion

Diffstat:
Medit-gnu.c | 3+++
1 file changed, 3 insertions(+), 0 deletions(-)

diff --git a/edit-gnu.c b/edit-gnu.c @@ -4,6 +4,7 @@ #include <stdio.h> #include <readline/readline.h> #include <readline/history.h> +#include <readline/rltypedefs.h> #include "edit.h" @@ -18,6 +19,8 @@ void *edit_begin(int fd) { struct cookie *c; rl_catch_signals = 0; + rl_completer_quote_characters = "'"; + rl_filename_quote_characters = "\t\n !#$&'()*;<=>?@[\\]^`{|}~"; hist = varlookup("history"); if (hist != NULL)