From 3a12738545ec714d83a45c70ee9cf420703dee97 Mon Sep 17 00:00:00 2001 From: "C. 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/.local/bin/open') 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