aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorTom Ryder <tom@sanctum.geek.nz>2016-08-14 22:44:56 +1200
committerTom Ryder <tom@sanctum.geek.nz>2016-08-14 22:44:56 +1200
commitf66a653dfc1e63e87984d5b99d27d2472a90f1da (patch)
tree6791b772949c17153f78cc7b6a7a7575b83abab0 /bin
parentRestore color to Vim (diff)
downloaddotfiles-f66a653dfc1e63e87984d5b99d27d2472a90f1da.tar.gz
dotfiles-f66a653dfc1e63e87984d5b99d27d2472a90f1da.zip
Make YouTube pattern more specific
Diffstat (limited to 'bin')
-rwxr-xr-xbin/xgo4
1 files changed, 2 insertions, 2 deletions
diff --git a/bin/xgo b/bin/xgo
index 56bbb0f9..4c5d5b2b 100755
--- a/bin/xgo
+++ b/bin/xgo
@@ -11,8 +11,8 @@ for url ; do (
# If it's a YouTube video without a given start time, load it in mpv(1)
case $url in
- *youtube.com/watch*[?\&]t=) ;;
- *youtube.com/watch*)
+ *[/.]youtube.com/watch*[?\&]t=) ;;
+ *[/.]youtube.com/watch*)
mpv -- "$url" && continue
;;
esac