summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJulian Hurst <ark@mansus.space>2024-09-15 02:30:04 +0200
committerJulian Hurst <ark@mansus.space>2024-09-15 02:30:04 +0200
commitf9837e219135bd857afd88f60f213ef9c8c8f61c (patch)
treecf28ee690324d703bc6e870682b49b224ad33ccf
downloadbugtracker-f9837e219135bd857afd88f60f213ef9c8c8f61c.tar.gz
Initial commit
-rw-r--r--ilhare/.current1
-rw-r--r--ilhare/closed0
-rw-r--r--ilhare/open1
-rw-r--r--ilhare/rejected0
-rwxr-xr-xnew.sh14
5 files changed, 16 insertions, 0 deletions
diff --git a/ilhare/.current b/ilhare/.current
new file mode 100644
index 0000000..0cfbf08
--- /dev/null
+++ b/ilhare/.current
@@ -0,0 +1 @@
+2
diff --git a/ilhare/closed b/ilhare/closed
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ilhare/closed
diff --git a/ilhare/open b/ilhare/open
new file mode 100644
index 0000000..08e5428
--- /dev/null
+++ b/ilhare/open
@@ -0,0 +1 @@
+1. Fix crash when program is opened in background before running
diff --git a/ilhare/rejected b/ilhare/rejected
new file mode 100644
index 0000000..e69de29
--- /dev/null
+++ b/ilhare/rejected
diff --git a/new.sh b/new.sh
new file mode 100755
index 0000000..6fb208f
--- /dev/null
+++ b/new.sh
@@ -0,0 +1,14 @@
+#!/bin/sh
+
+test -f .current || echo -n 1 > .current
+
+current=$(cat .current)
+
+if test $# -eq 2
+then
+ echo "$current. $1" >> open
+else
+ echo "$current. " >> open
+ vim open
+fi
+echo -n "$((current + 1))" > .current