From 22634c825c021df0c1ced164e6f16ca649a96da5 Mon Sep 17 00:00:00 2001 From: June McEnroe Date: Wed, 9 Jun 2021 18:02:12 -0400 Subject: Stop mpv from dumping core ... seriously this software. --- home/.local/bin/open | 1 + 1 file changed, 1 insertion(+) (limited to 'home') diff --git a/home/.local/bin/open b/home/.local/bin/open index cc13d0a6..9439f07d 100755 --- a/home/.local/bin/open +++ b/home/.local/bin/open @@ -10,6 +10,7 @@ case "$1" in curl -LSs "$1" | imv - ;; (https://youtu.be/*|https://www.youtube.com/watch*|https://twitch.tv/*) + ulimit -c 0 # mpv segfaults on exit every time on OpenBSD... exec mpv "$1" >/dev/null 2>&1 ;; (*) -- cgit 1.4.1