]> git.mdlowis.com Git - projs/tide.git/commitdiff
Added / and . to valid word chars so file names will be selected
authorMichael D. Lowis <mike.lowis@gentex.com>
Fri, 16 Dec 2016 17:33:23 +0000 (12:33 -0500)
committerMichael D. Lowis <mike.lowis@gentex.com>
Fri, 16 Dec 2016 17:33:23 +0000 (12:33 -0500)
libedit/utils.c

index edb1c0650ff2469de075863a35f5dec4cef5fb9c..db3c0aafed40774a453d4f26453142dc73de9401 100644 (file)
@@ -50,7 +50,8 @@ void funmap(FMap file) {
 
 bool risword(Rune r) {
     return (r < 127 && (isalnum(r) || r == '_' || r == ':' || r == '!' || 
-                          r == '|' || r == '>' || r == '<'));
+                          r == '|' || r == '>' || r == '<' || r == '/' ||
+                          r == '.'));
 }
 
 bool risblank(Rune r) {