Last active
September 14, 2017 15:41
-
-
Save Argon-/2661a199d41f29c385b0891eb9cc63f1 to your computer and use it in GitHub Desktop.
Modification for debugging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
export MPVBUNDLE="true" | |
# set the right args for the user specified standard shell | |
# to load the expected profiles and configs | |
args="-c" | |
case "$SHELL" in | |
*bash) args="-l $args";; | |
*zsh) args="-l -i $args";; | |
esac | |
cd "$(dirname "$0")" | |
$SHELL $args "./mpv ${@}" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment