1
0
peilaus alkaen https://github.com/quitesimpleorg/hs9001.git synced 2024-11-25 01:12:36 +01:00
Bash history put into sqlite so it can be searched
Go to file
2021-03-20 20:27:06 +01:00
.gitignore Init+ minor improvements 2021-03-20 20:18:27 +01:00
go.mod Init+ minor improvements 2021-03-20 20:18:27 +01:00
go.sum Init+ minor improvements 2021-03-20 20:18:27 +01:00
main.go Don't crash when no arguments are given 2021-03-20 20:22:38 +01:00
README.md Add super minimalistic readme 2021-03-20 20:27:06 +01:00

Add this to .bashrc

if [ -n "$PS1" ] ; then PROMPT_COMMAND='hs9001 add "$(history 1)"' fi