summary refs log tree commit diff
path: root/home
diff options
context:
space:
mode:
authorJune McEnroe <june@causal.agency>2021-06-09 18:02:12 -0400
committerJune McEnroe <june@causal.agency>2021-06-09 18:02:12 -0400
commit3a12738545ec714d83a45c70ee9cf420703dee97 (patch)
tree836b881cb3f5ddc3c8a65f21a291714dd5d25e09 /home
parentGenerate valid Atom feeds (diff)
downloadsrc-3a12738545ec714d83a45c70ee9cf420703dee97.tar.gz
src-3a12738545ec714d83a45c70ee9cf420703dee97.zip
Stop mpv from dumping core
... seriously this software.
Diffstat (limited to 'home')
-rwxr-xr-xhome/.local/bin/open1
1 files changed, 1 insertions, 0 deletions
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
 		;;
 	(*)