From cb9c427b2a472aa4fb59d427c0f3001793de5c81 Mon Sep 17 00:00:00 2001 From: "Michael D. Lowis" Date: Fri, 16 Dec 2016 10:02:06 -0500 Subject: [PATCH] Tweaked risword function to allow for command sigils as part of the word. This makes it easier to middle click commands without having to first select them --- libedit/utils.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libedit/utils.c b/libedit/utils.c index 70e52c9..edb1c06 100644 --- a/libedit/utils.c +++ b/libedit/utils.c @@ -49,7 +49,8 @@ void funmap(FMap file) { } bool risword(Rune r) { - return (r < 127 && (isalnum(r) || r == '_')); + return (r < 127 && (isalnum(r) || r == '_' || r == ':' || r == '!' || + r == '|' || r == '>' || r == '<')); } bool risblank(Rune r) { -- 2.54.0