From c024147504a4a1b3a6b1e40f5120bc57248f0531 Mon Sep 17 00:00:00 2001 From: Curtis McEnroe Date: Wed, 8 Aug 2018 21:48:30 -0400 Subject: Add commands to tab complete --- edit.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'edit.c') diff --git a/edit.c b/edit.c index 9073f92..6b044cb 100644 --- a/edit.c +++ b/edit.c @@ -126,7 +126,7 @@ static void complete(void) { free(wcs); size_t pos = line.tab - line.buf; - if (!pos) { + if (!pos && line.tab[0] != L'/') { insert(L':'); } else if (pos >= 2) { if (line.buf[pos - 2] == L':' || line.buf[pos - 2] == L',') { -- cgit 1.4.1-2-gfad0