related to LP#1025843 fix tab completion for tilde

this code is insane, who wrote globbing and expansion for mksh’s
predecessor must have been on very interesting drugs
This commit is contained in:
tg
2012-08-24 21:15:42 +00:00
parent 42ac0dc08e
commit e2d1f3bf99
3 changed files with 16 additions and 24 deletions

3
sh.h
View File

@ -157,7 +157,7 @@
#endif
#ifdef EXTERN
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.582 2012/08/24 20:57:46 tg Exp $");
__RCSID("$MirOS: src/bin/mksh/sh.h,v 1.583 2012/08/24 21:15:42 tg Exp $");
#endif
#define MKSH_VERSION "R40 2012/08/17"
@ -1343,7 +1343,6 @@ struct ioword {
#define DOTEMP BIT(8) /* dito: in word part of ${..[%#=?]..} */
#define DOVACHECK BIT(9) /* var assign check (for typeset, set, etc) */
#define DOMARKDIRS BIT(10) /* force markdirs behaviour */
#define DOKEEPQCHAR BIT(11) /* internal use by globbing code */
/*
* The arguments of [[ .. ]] expressions are kept in t->args[] and flags