diff options
author | June McEnroe <june@causal.agency> | 2021-06-09 18:02:12 -0400 |
---|---|---|
committer | June McEnroe <june@causal.agency> | 2021-06-09 18:02:12 -0400 |
commit | 22634c825c021df0c1ced164e6f16ca649a96da5 (patch) | |
tree | 34f412f6abf7ab5cccfbec23b91ee67d994b564f | |
parent | Generate valid Atom feeds (diff) | |
download | src-22634c825c021df0c1ced164e6f16ca649a96da5.tar.gz src-22634c825c021df0c1ced164e6f16ca649a96da5.zip |
Stop mpv from dumping core
... seriously this software.
-rwxr-xr-x | home/.local/bin/open | 1 |
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 ;; (*) |