From 76fb54b0a068f79a6afa90e2b2add8df3611e505 Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Sun, 27 Sep 2015 10:45:35 +0200 Subject: [PATCH] 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. --- etc/zsh/zshrc | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) 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() { -- 2.1.4