]> Sergey Matveev's repositories - torn.git/blobdiff - torn.zsh
Do not try to do anything if no argument is specified
[torn.git] / torn.zsh
index fe45db94259bec0f5a692cd76c68956a5a384553..700d33b4f666e3041726e8d804329e7558fd5c04 100755 (executable)
--- a/torn.zsh
+++ b/torn.zsh
@@ -62,6 +62,7 @@ tornm() {
     print -- $n
 }
 
+[[ -n $1 ]] || exit
 local n=${1:t}
 n=`tornm $n`
 n=`tornt $n`