mirror of
https://github.com/quitesimpleorg/hs9001.git
synced 2024-11-14 06:37:52 +01:00
25 lines
326 B
Markdown
25 lines
326 B
Markdown
# 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.
|