From 0a0cbe91e175358089935c16d1570245154f08b4 Mon Sep 17 00:00:00 2001 From: "U-DAVID-DFC4E3FE1\\Administrator" Date: Sat, 24 Apr 2010 13:01:56 -0500 Subject: [PATCH] limit can sometimes not support coredumpsize --- zsh/00_options | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/zsh/00_options b/zsh/00_options index f5b1bae..6a7f0d3 100755 --- a/zsh/00_options +++ b/zsh/00_options @@ -2,7 +2,9 @@ WORDCHARS='' # disable core dumps -limit coredumpsize 0 +if ( limit coredumpsize >/dev/null 2>&1) ; then + limit coredumpsize 0 +fi # clear on exit trap clear 0