e63ad28f74
Print usage also when an invalid command is supplied
2021-03-22 19:51:29 +01:00
eb0612864d
search: concat multiple arguments. Don't just use the first
...
This is more natural
2021-03-22 19:49:44 +01:00
lawl
31973bd5dd
Use exit status 23 as a do not log code
2021-03-21 12:45:26 +01:00
c67d38482d
add: Fix panic when history command returns nothing
...
If you disable bash history files alltogether, "history 1" will not contain
anything on first launch of a terminal and therefore the regex
has nothing to parse, so we get an out of bounds array access.
So fix this.
Though it's a dirty silent fail now, I don't want error messages/warnings
everytime I open a shell.
2021-03-21 10:43:06 +01:00
79a26e2aa1
databaseLocation(): Consider env variable override
...
Allow overriding databaseLocation by an environment variable.
Closes : #1
2021-03-21 10:38:12 +01:00
1d991b50fc
Usage text: Mention import
2021-03-21 10:29:41 +01:00
lawl
5604c310d7
Pass DB into functions. Implement import feature
2021-03-20 20:47:05 +01:00
lawl
f58c82a3ee
remove commented out code
2021-03-20 20:28:03 +01:00
lawl
a2bcc9685a
Don't crash when no arguments are given
2021-03-20 20:22:38 +01:00
lawl
c271bc986d
Init+ minor improvements
2021-03-20 20:18:27 +01:00
920db7d925
First commit
2021-03-20 19:39:18 +01:00