Commit Graph

  • e1375f237c Consider return code when checking if command was already printed master Albert S 2022-09-27 17:01:20 +02:00
  • ac9aab63bd Change 'timestamp' to simple unix epoch WIP/sane_timestamp Albert S 2021-09-28 18:10:53 +02:00
  • d0e07640e8 Update README.md Albert S 2021-09-25 13:40:34 +02:00
  • 6d4e7a96dc Implement --today v0.5 Albert S 2021-09-25 12:49:50 +02:00
  • ebcdfa5ff4 Print failed commands in red. Albert S 2021-09-25 12:14:07 +02:00
  • 0949ee422a Implement mode for reverse search in cwd Albert S 2021-09-25 11:33:37 +02:00
  • 3a6a1b2aa9 bash-ctrlr: Improve reverse bash search performance Albert S 2021-08-19 21:30:04 +02:00
  • 1a6c75cea9 Improve README.md Albert S 2021-08-08 13:22:08 +02:00
  • bb2450b8ec history: Only start search when at least 2 chars have been entered v0.4 Albert S 2021-08-08 12:38:25 +02:00
  • 67050d32b9 Implement bash CTRL-R reverse history lawl 2021-06-05 19:59:47 +02:00
  • 33183dd7d3 Begin liner integration Albert S 2021-06-05 17:41:58 +02:00
  • 6e4ed9a1cd Implement bash CTRL-R reverse history WIP/liner lawl 2021-06-05 19:59:47 +02:00
  • 26ababc93e Begin liner integration Albert S 2021-06-05 17:41:58 +02:00
  • f0a8d79309
    Merge 97648433c00ed7156bef97e34fb283f6526a5dbc into a8f35951f17482e72b02d1691d98dea27c7d2a8f Albert S 2021-08-08 11:29:38 +02:00
  • 97648433c0 remove defaultHistoryProvider lawl 2021-08-08 11:29:18 +02:00
  • 2450accc96 Fork customized liner into own repo lawl 2021-08-08 11:16:32 +02:00
  • e5c1beb937 refactor search function. rename -being and -end to -after and -before lawl 2021-06-05 22:41:34 +02:00
  • a2c4c99af4 WIP: implement reverse search lawl 2021-06-05 19:59:47 +02:00
  • e292b4ce74 Liner WIP Albert S 2021-06-05 17:41:58 +02:00
  • a8f35951f1 Replace previous PROMPT_COMMAND in bashrc with more convenient option lawl 2021-06-05 15:42:33 +02:00
  • b9e3a3629b Fix bug in cwd search and fix go-staticcheck regexp complaint lawl 2021-06-05 15:05:18 +02:00
  • 16752411e1 Add 'nolog' subcommand lawl 2021-06-05 14:35:42 +02:00
  • c480519fca Resolve CWD arguments as absolute path lawl 2021-06-05 14:28:02 +02:00
  • 70e66f47ba CLI: Rename -workdir to -cwd so we have to type less lawl 2021-06-05 14:27:25 +02:00
  • 216e59747c Add 'version' command Albert S 2021-05-16 18:38:33 +02:00
  • c206b07b2d add/search: Process cmd exit code v0.3 Albert S 2021-05-16 18:01:48 +02:00
  • 3b01d7b898 search: Do not print consecutive equal commands by default Albert S 2021-05-16 17:13:29 +02:00
  • baa0d58a47 Fix a bug in DB migration v0.2 lawl 2021-04-05 14:37:37 +02:00
  • 163429138c search(): Allow searching by timestamps Albert S 2021-04-05 14:21:33 +02:00
  • 2af0c1d551 add(): Log current timestamp too Albert S 2021-04-05 14:00:51 +02:00
  • 595595c4cb search: Allow searching for cwd Albert S 2021-04-05 13:15:20 +02:00
  • 250af52750 add(): Pass HistoryEntry struct Albert S 2021-04-05 13:00:27 +02:00
  • 88362e99a9 Introduce HistoryEntry struct ; refactor search and delete Albert S 2021-04-05 12:49:13 +02:00
  • 776dcebb04 Log cwd lawl 2021-04-05 11:54:09 +02:00
  • 1809905992 Add DB migrations lawl 2021-04-05 11:44:07 +02:00
  • 305e4300cc Fix off-by-one in CLI lawl 2021-04-05 10:43:54 +02:00
  • b02911c9b4 Add 'delete' subcommand to delete matching records from log lawl 2021-04-05 10:29:50 +02:00
  • 8477ba5bfe CLI: Properly parse cli flags for subcommands lawl 2021-04-05 10:16:40 +02:00
  • 54697be895 Search: Properly exit on error lawl 2021-04-05 09:53:25 +02:00
  • da945dce2d add LICENSE Albert S 2021-03-23 14:34:55 +01:00
  • ee7a0868a8 Update README.md: Mention repos, minor improvements Albert S 2021-03-23 14:19:10 +01:00
  • e63ad28f74 Print usage also when an invalid command is supplied v0.1 Albert S 2021-03-22 19:50:27 +01:00
  • eb0612864d search: concat multiple arguments. Don't just use the first Albert S 2021-03-22 19:43:53 +01:00
  • 31973bd5dd Use exit status 23 as a do not log code lawl 2021-03-21 12:45:26 +01:00
  • 50515b2d72 Update README Albert S 2021-03-21 10:54:47 +01:00
  • c67d38482d add: Fix panic when history command returns nothing Albert S 2021-03-21 10:43:06 +01:00
  • 79a26e2aa1 databaseLocation(): Consider env variable override Albert S 2021-03-21 10:38:12 +01:00
  • 1d991b50fc Usage text: Mention import Albert S 2021-03-21 10:29:41 +01:00
  • 5604c310d7 Pass DB into functions. Implement import feature lawl 2021-03-20 20:47:05 +01:00
  • 9925920e04 Update README.md Albert S 2021-03-20 20:42:35 +01:00
  • f58c82a3ee remove commented out code lawl 2021-03-20 20:28:03 +01:00
  • e3e7fd74e0 Add super minimalistic readme lawl 2021-03-20 20:27:06 +01:00
  • a2bcc9685a Don't crash when no arguments are given lawl 2021-03-20 20:22:38 +01:00
  • c271bc986d Init+ minor improvements lawl 2021-03-20 20:18:27 +01:00
  • 920db7d925 First commit Albert S 2021-03-20 19:39:18 +01:00