From 8ac97f3308ed8b33738b16f4464876f886b9237b Mon Sep 17 00:00:00 2001 From: Peter Stephenson Date: Wed, 3 Feb 2010 18:34:32 +0000 Subject: 27648, 267650/1, unposted README change: Turn off repeat and turn on ulimit in emulation modes --- Src/builtin.c | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'Src/builtin.c') diff --git a/Src/builtin.c b/Src/builtin.c index 0ce3aef56..1eca82099 100644 --- a/Src/builtin.c +++ b/Src/builtin.c @@ -206,6 +206,17 @@ freebuiltinnode(HashNode hn) } } +/**/ +void +init_builtins(void) +{ + if (!EMULATION(EMULATE_ZSH)) { + HashNode hn = reswdtab->getnode2(reswdtab, "repeat"); + if (hn) + reswdtab->disablenode(hn, 0); + } +} + /* Make sure we have space for a new option and increment. */ #define OPT_ALLOC_CHUNK 16 -- cgit 1.4.1