summary refs log tree commit diff
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2018-09-13 01:50:46 -0400
committerJune McEnroe <june@causal.agency>2018-09-13 01:50:46 -0400
commit8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1 (patch)
tree18ac8047ff78def0e0c6c22002b09d3016b03ab1
parentRewrite UI again (diff)
downloadcatgirl-8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1.tar.gz
catgirl-8a8eab89ff079b4a11ab9108b0a3f02fe6a638b1.zip
Fix weird tab-complete after comma
I have no idea why I did this.
-rw-r--r--edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/edit.c b/edit.c
index 38ee843..88301f6 100644
--- a/edit.c
+++ b/edit.c
@@ -125,7 +125,7 @@ static void complete(struct Tag tag) {
 	if (!pos && line.tab[0] != L'/') {
 		insert(L':');
 	} else if (pos >= 2) {
-		if (line.buf[pos - 2] == L':' || line.buf[pos - 2] == L',') {
+		if (line.buf[pos - 2] == L':') {
 			line.buf[pos - 2] = L',';
 			insert(L':');
 		}
S1June McEnroe 2019-01-13Shorten $HOME to ~ in prompt expansionJune McEnroe 2019-01-13Document PSlitJune McEnroe 2019-01-13Document PS0June McEnroe 2019-01-13Set PS0 in cashJune McEnroe 2019-01-13Add PS0June McEnroe 2019-01-13Change default ENV from cashrc to env.shJune McEnroe 2019-01-13Use colours in cash promptsJune McEnroe 2019-01-12Set PSlit like NetBSD shJune McEnroe 2019-01-12Install gnupg2 from pkgsrc and symlink gpgJune McEnroe 2019-01-12Reference cash builtin man pages in cash.1 SEE ALSOJune McEnroe 2019-01-12Restore cash builtin man page datesJune McEnroe 2019-01-12Use local libeditJune McEnroe 2019-01-12Replace libedit MakefileJune McEnroe 2019-01-11Import /usr/src/lib/libedit from NetBSD 8.0June McEnroe 2019-01-11Add PSlit for prompt escapesJune McEnroe 2019-01-11Don't make depend automaticallyJune McEnroe