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 | 3a12738545ec714d83a45c70ee9cf420703dee97 (patch) | |
tree | 836b881cb3f5ddc3c8a65f21a291714dd5d25e09 /home/.local/bin/open | |
parent | Generate valid Atom feeds (diff) | |
download | src-3a12738545ec714d83a45c70ee9cf420703dee97.tar.gz src-3a12738545ec714d83a45c70ee9cf420703dee97.zip |
Stop mpv from dumping core
... seriously this software.
Diffstat (limited to '')
-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 ;; (*) |