diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-15 19:48:51 +1200 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2016-08-15 19:48:51 +1200 |
commit | 88c3653afae83c64cdfa8f9a2849b46752f19ba4 (patch) | |
tree | 6f2d5ec902cd5629d286ad77c0e3a51ced1fe11e /bin/xgo | |
parent | Silence a couple of Git hints (diff) | |
download | dotfiles-88c3653afae83c64cdfa8f9a2849b46752f19ba4.tar.gz dotfiles-88c3653afae83c64cdfa8f9a2849b46752f19ba4.zip |
Correct order of tasks in xgo(1)
Diffstat (limited to 'bin/xgo')
-rwxr-xr-x | bin/xgo | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -17,6 +17,9 @@ for url ; do ( ;; esac + # Get the MIME type data + mt=$(urlmt "$url") + # If the MIME type is an image, load it in feh(1) case $mt in image/gif) ;; @@ -25,9 +28,6 @@ for url ; do ( ;; esac - # Get the MIME type data - mt=$(urlmt "$url") - # Otherwise, just pass it to br(1) br "$url" ) & done |