hs9001/README.md

25 行
326 B
Markdown
Raw 通常表示 履歴

2021-03-20 20:42:35 +01:00
# hs9001
## Setup
```
go build
#move hs9001 to a PATH location
# Initialize database
hs9001 init
````
2021-03-20 20:27:06 +01:00
Add this to .bashrc
2021-03-20 20:42:35 +01:00
```
2021-03-20 20:27:06 +01:00
if [ -n "$PS1" ] ; then
PROMPT_COMMAND='hs9001 add "$(history 1)"'
fi
2021-03-20 20:42:35 +01:00
```
## Usage
### Search
```
hs9001 search "term"
```
Is is recommended to create an aias for search to make life easier.