mirror of
https://github.com/NaomiAmethyst/dots.git
synced 2025-08-05 16:48:38 +00:00
limit can sometimes not support coredumpsize
This commit is contained in:
parent
d1690b37e8
commit
0a0cbe91e1
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue