From 9925920e04f95ae5286f6cbb0d93b3f03fabf2e1 Mon Sep 17 00:00:00 2001 From: Albert S Date: Sat, 20 Mar 2021 20:42:35 +0100 Subject: [PATCH] Update README.md --- README.md | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/README.md b/README.md index 51180f7..d2ea991 100644 --- a/README.md +++ b/README.md @@ -1,5 +1,24 @@ +# hs9001 +## Setup +``` +go build +#move hs9001 to a PATH location +# Initialize database +hs9001 init +```` + Add this to .bashrc +``` if [ -n "$PS1" ] ; then PROMPT_COMMAND='hs9001 add "$(history 1)"' fi +``` + +## Usage +### Search +``` +hs9001 search "term" +``` + +Is is recommended to create an aias for search to make life easier.