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':');
 		}
ollow=1'>output: Fix fmtstr return valueHerbert Xu 2018-05-28var: Set IFS to fixed value at start timeHerbert Xu 2018-05-28parser: Save/restore here-documents in command substitutionHerbert Xu 2018-05-28jobs: Only clear gotsigchld when waiting for everythingHerbert Xu 2018-05-28mkinit: Split reset into exitreset and resetHerbert Xu 2018-05-28main: Only set savestatus in exitcmdHerbert Xu 2018-05-28exec: Return 126 on most errors in shellexecHerbert Xu 2018-05-17Release 0.5.10.2.Herbert Xu 2018-05-15parser: Fix incorrect eating of backslash newlinesHerbert Xu 2018-05-10Release 0.5.10.1.Herbert Xu 2018-05-09jobs - Do not block when waiting on SIGCHLDHerbert Xu 2018-05-03Release 0.5.10.Herbert Xu 2018-04-19eval: Variable assignments on functions are no longer persistentHerbert Xu 2018-04-19parser: Fix parameter expansion inside inner double quotesHerbert Xu 2018-04-19parser: Fix parsing of ${}Herbert Xu 2018-04-19man: correct typos, iff -> ifMartijn Dekker 2018-04-19expand: Do not quote backslashes in unquoted parameter expansionHerbert Xu 2018-04-19shell: Add subdir-objects to AM_INIT_AUTOMAKEJason Bowen 2018-04-19eval: Restore input files in evalcommandHerbert Xu 2018-04-19eval: Reap zombies after built-in commands and functionsHerbert Xu 2018-04-19redir: Fix typo in noclobber codeHerbert Xu 2018-04-19expand: Fix glibc glob(3) supportHerbert Xu 2018-04-02expand: Fix buffer overflow in expandmetaHerbert Xu 2018-04-02builtin: Move echo space/nl handling into print_escape_strHerbert Xu 2018-04-02builtin: Fix echo performance regressionHerbert Xu 2018-04-02expand: Fix ghost fields with unquoted $@/$*Herbert Xu 2018-04-02parser: Allow newlines within parameter substitutionHerbert Xu 2018-04-02expand: Fix bugs with words connected to the right of $@Herbert Xu 2018-03-25Revert "[BUILTIN] Remove unnecessary restoration of format string in printf"Herbert Xu 2018-03-22parser: Fix backquote support in here-document EOF markHerbert Xu