]> Sergey Matveev's repositories - t.git/commitdiff
Raise copyright years
authorSergey Matveev <stargrave@stargrave.org>
Wed, 28 Dec 2022 18:07:44 +0000 (21:07 +0300)
committerSergey Matveev <stargrave@stargrave.org>
Wed, 28 Dec 2022 18:07:44 +0000 (21:07 +0300)
t

diff --git a/t b/t
index ed74f3043210b55b9d3dcbe28ba2cbcaccaabb6e..d6c5e57cd2b476cbada716a4c4e4156ba7f53deb 100755 (executable)
--- a/t
+++ b/t
@@ -1,6 +1,6 @@
 #!/usr/bin/env zsh
 # t -- simple notes manager
-# Copyright (C) 2013-2022 Sergey Matveev <stargrave@stargrave.org>
+# Copyright (C) 2013-2023 Sergey Matveev <stargrave@stargrave.org>
 # Current version is written on zsh. Previous was on POSIX shell.
 #
 # Usage:
@@ -51,7 +51,7 @@ get_note() {
         [[ ${#line} -le 70 ]] || print -n "... "
         lines=$(wc -l < $note)
         printf "(%d)\n" $lines
-        ctr=$(( ctr + 1 ))
+        (( ctr = ctr + 1 ))
     }
     exit
 }