Browse Source

rline_exp: slightly more reasonable shell cmd hl

K. Lange 4 years ago
parent
commit
c76722a4c4
1 changed files with 2 additions and 0 deletions
  1. 2 0
      lib/rline_exp.c

+ 2 - 0
lib/rline_exp.c

@@ -382,6 +382,8 @@ static int syn_sh_iskeywordchar(int c) {
 	if (c == '-') return 1;
 	if (c == '_') return 1;
 	if (c == '?') return 1;
+	if (c == '/') return 1;
+	if (c == '.') return 1;
 	return 0;
 }