提交图

10 次代码提交

作者 SHA1 备注 提交日期
Albert S. 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
Albert S. 79a26e2aa1 databaseLocation(): Consider env variable override
Allow overriding databaseLocation by an environment variable.

Closes: #1
2021-03-21 10:38:12 +01:00
Albert S. 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
Albert S. 9925920e04 Update README.md 2021-03-20 20:42:35 +01:00
lawl f58c82a3ee remove commented out code 2021-03-20 20:28:03 +01:00
lawl e3e7fd74e0 Add super minimalistic readme 2021-03-20 20:27:06 +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
Albert S. 920db7d925 First commit 2021-03-20 19:39:18 +01:00