diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 22:44:56 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-14 22:44:56 +1200 |
commit | f66a653dfc1e63e87984d5b99d27d2472a90f1da (patch) | |
tree | 6791b772949c17153f78cc7b6a7a7575b83abab0 /bin | |
parent | Restore color to Vim (diff) | |
download | dotfiles-f66a653dfc1e63e87984d5b99d27d2472a90f1da.tar.gz dotfiles-f66a653dfc1e63e87984d5b99d27d2472a90f1da.zip |
Make YouTube pattern more specific
Diffstat (limited to 'bin')
-rwxr-xr-x | bin/xgo | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 |