projects
/
torn.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9178edf
)
Do not try to do anything if no argument is specified
author
Sergey Matveev <stargrave@stargrave.org>
Thu, 9 Feb 2023 11:05:10 +0000 (14:05 +0300)
committer
Sergey Matveev <stargrave@stargrave.org>
Thu, 9 Feb 2023 11:16:36 +0000 (14:16 +0300)
torn.zsh
patch
|
blob
|
history
diff --git
a/torn.zsh
b/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`