mirror of
https://github.com/quitesimpleorg/hs9001.git
synced 2024-11-25 14:02:36 +01:00
Update README.md
This commit is contained in:
parent
f58c82a3ee
commit
9925920e04
19
README.md
19
README.md
@ -1,5 +1,24 @@
|
|||||||
|
# hs9001
|
||||||
|
## Setup
|
||||||
|
```
|
||||||
|
go build
|
||||||
|
#move hs9001 to a PATH location
|
||||||
|
# Initialize database
|
||||||
|
hs9001 init
|
||||||
|
````
|
||||||
|
|
||||||
Add this to .bashrc
|
Add this to .bashrc
|
||||||
|
|
||||||
|
```
|
||||||
if [ -n "$PS1" ] ; then
|
if [ -n "$PS1" ] ; then
|
||||||
PROMPT_COMMAND='hs9001 add "$(history 1)"'
|
PROMPT_COMMAND='hs9001 add "$(history 1)"'
|
||||||
fi
|
fi
|
||||||
|
```
|
||||||
|
|
||||||
|
## Usage
|
||||||
|
### Search
|
||||||
|
```
|
||||||
|
hs9001 search "term"
|
||||||
|
```
|
||||||
|
|
||||||
|
Is is recommended to create an aias for search to make life easier.
|
||||||
|
Loading…
Reference in New Issue
Block a user