diff options
author | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-03 18:34:32 +0000 |
---|---|---|
committer | Peter Stephenson <pws@users.sourceforge.net> | 2010-02-03 18:34:32 +0000 |
commit | 8ac97f3308ed8b33738b16f4464876f886b9237b (patch) | |
tree | 4c633166fe2ac54bf9c672ff2a2337e6bff1cc95 /Src/builtin.c | |
parent | 7e9952e0163a7148c1acd81c311c4f681e33aa5f (diff) | |
download | zsh-8ac97f3308ed8b33738b16f4464876f886b9237b.tar.gz zsh-8ac97f3308ed8b33738b16f4464876f886b9237b.tar.xz zsh-8ac97f3308ed8b33738b16f4464876f886b9237b.zip |
27648, 267650/1, unposted README change:
Turn off repeat and turn on ulimit in emulation modes
Diffstat (limited to 'Src/builtin.c')
-rw-r--r-- | Src/builtin.c | 11 |
1 files changed, 11 insertions, 0 deletions
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 |