From: Frank Terbeck Date: Sun, 27 Sep 2015 08:45:35 +0000 (+0200) Subject: zshrc: Leave all limits alone X-Git-Tag: v0.12.4~6 X-Git-Url: http://git.grml.org/?p=grml-etc-core.git;a=commitdiff_plain;h=76fb54b0a068f79a6afa90e2b2add8df3611e505 zshrc: Leave all limits alone Except for when we're running off of a live medium. In that case still disable core-dumps. Other than that, it's up to the user to change their limit settings from the defaults the system provides. --- diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 6a7a1a6..ab43aef 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2703,11 +2703,10 @@ __EOF0__ fi fi -# Use hard limits, except for a smaller stack and no core dumps -unlimit -is425 && limit stack 8192 -isgrmlcd && limit core 0 # important for a live-cd-system -limit -s +if isgrmlcd; then + # No core dumps: important for a live-cd-system + limit -s core 0 +fi # grmlstuff grmlstuff() {