summary refs log tree commit diff
path: root/home/.local/bin/open
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
commit22634c825c021df0c1ced164e6f16ca649a96da5 (patch)
tree34f412f6abf7ab5cccfbec23b91ee67d994b564f /home/.local/bin/open
parentGenerate valid Atom feeds (diff)
downloadsrc-22634c825c021df0c1ced164e6f16ca649a96da5.tar.gz
src-22634c825c021df0c1ced164e6f16ca649a96da5.zip
Stop mpv from dumping core
... seriously this software.
Diffstat (limited to '')
-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
 		;;
 	(*)