Hacker GitHub

← All repos

csdvrx/bash-timestamping-sqlite

View on GitHub ↗ ★ 33

bash commandline timestamping using a sqlite database for personal analytics, activity logging and auditing

13 mentions on Hacker News by 1 person: 0 stories, 13 comments · first 2021-10-20 · latest 2025-03-26

Mentions per year 13 mentions · busiest year 2022 (6)
20082026
  1. You can get the config files from https://github.com/csdvrx/bash-timestamping-sqlite
    comment by csdvrx · 2025-03-26 · in Better Shell History Search
  2. …I collect logs with my sqlite based bash history collection that I've been running for 5 years: https://github.com/csdvrx/bash-timestamping-sqlite Thanks to my garmin, I have identified a pattern where I feel ok, but my garmin reported…
  3. …bash's PROMPT_COMMAND if you are still on bash Already done, with also PS0 and a sqlite backend: https://github.com/csdvrx/bash-timestamping-sqlite
    comment by csdvrx · 2024-01-21 · in Keeping a long shell history
  4. …) have bash save commands start and stop time in a sqlite database ( https://github.com/csdvrx/bash-timestamping-sqlite ) > I have a very hard time articulating what I like more about Vim other than simply it just suits me bett
  5. Same but with bash, and sqlite on the backend, fzy on the frontend: https://github.com/csdvrx/bash-timestamping-sqlite
  6. …that I use daily (mostly a good starting point for eink tweaking: a bash+vim configuration, cf https://github.com/csdvrx/bash-timestamping-sqlite for the bash part) Next will be an optimized terminal to lower the latency by using the…
  7. …on your history of commands in that given directory), pure bash code using sqlite to store data: https://github.com/csdvrx/bash-timestamping-sqlite The only other dependency is fzy for fuzzy matching.
    comment by csdvrx · 2022-09-27 · in Bash 5.2
  8. …take into account that scolling will happen - but it's essentially similar to your idea. So check https://github.com/csdvrx/bash-timestamping-sqlite/blob/main... and make sure you understand both how the __notbottom function works, and why…
  9. …a command stop executing ABOVE the command itself and next to the time it started executing in https://github.com/csdvrx/bash-timestamping-sqlite I had to, because I was using MSYS2 and the time to execute a command was a limiting factor…
  10. …bash, where Ctrl-R gives you fzy history for the given directory and Ctrl-T for all directories: https://github.com/csdvrx/bash-timestamping-sqlite Everything goes into SQLite, which is helpful for stats - like, when do I make the most…
    comment by csdvrx · 2022-05-16 · in RESH: Rich Enhanced Shell History
  11. …start time, stop time, and eventual error code, in a SQLite database that you can query with fzy: https://github.com/csdvrx/bash-timestamping-sqlite With the mappings, Ctrl-R will do a search history restricted to the current directory AND…
  12. …and their return code), I rarely have such issues Shameless plug for that bash history in sqlite: https://github.com/csdvrx/bash-timestamping-sqlite > So checklists should be considered immutable. Once you create them, don't assume they…
  13. …"wasn't as simple as I expected". So I fixed my bash to add and expand what I had enjoyed! Check https://github.com/csdvrx/bash-timestamping-sqlite : - stores everything into a sqlite database so separate bash in separate terminals can…
    comment by csdvrx · 2021-10-20 · in s/bash/zsh/g