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
20082026
-
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 -
…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…
comment by csdvrx · 2024-01-27 · in Accuracy of Commercial Sleep-Trackers Compared to Research-Grade Tools -
…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 -
…) 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
comment by csdvrx · 2023-12-27 · in Show HN: CuteVim – Portable Vim with a cute vimrc -
Same but with bash, and sqlite on the backend, fzy on the frontend: https://github.com/csdvrx/bash-timestamping-sqlite
comment by csdvrx · 2022-11-02 · in Show HN: HiSHtory: Your shell history in context, synced, and queryable -
…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…
comment by csdvrx · 2022-10-31 · in Nord – An Arctic, north-bluish color palette -
…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…
comment by csdvrx · 2022-05-18 · in Everything you ever wanted to know about terminals -
…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…
comment by csdvrx · 2022-05-17 · in Everything you ever wanted to know about terminals -
…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 -
…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…
comment by csdvrx · 2021-11-08 · in Jog: Print the last 10 commands you ran in the current directory -
…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…
comment by csdvrx · 2021-11-02 · in Do-nothing scripting: the key to gradual automation (2019) -
…"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