1
0
镜像自地址 https://github.com/quitesimpleorg/hs9001.git 已同步 2024-11-22 02:57:51 +01:00

Update README.md

这个提交包含在:
Albert S. 2021-03-20 20:42:35 +01:00
父节点 f58c82a3ee
当前提交 9925920e04

查看文件

@ -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.