summary refs log tree commit diff
path: root/edit.c
diff options
context:
space:
mode:
Diffstat (limited to 'edit.c')
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
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',') {