diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-15 12:38:44 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-15 12:41:29 +1200 |
commit | bd60ea6dc58fdebf34522b4b44e13cf57ab77dd9 (patch) | |
tree | 7be34c7b1ded1fe575edc66441ef5250dd6ff268 /bin/xgo | |
parent | Strip some trailing whitespace (diff) | |
download | dotfiles-bd60ea6dc58fdebf34522b4b44e13cf57ab77dd9.tar.gz dotfiles-bd60ea6dc58fdebf34522b4b44e13cf57ab77dd9.zip |
Exit from xgo(1) subshell, not continue
Diffstat (limited to 'bin/xgo')
-rwxr-xr-x | bin/xgo | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -13,7 +13,7 @@ for url ; do ( case $url in *[/.]youtube.com/watch*[?\&]t=) ;; *[/.]youtube.com/watch*) - mpv -- "$url" && continue + mpv -- "$url" && exit ;; esac @@ -21,7 +21,7 @@ for url ; do ( case $mt in image/gif) ;; image/*) - curl -- "$url" | feh - && continue + curl -- "$url" | feh - && exit ;; esac |