... | ... | @@ -23,43 +23,7 @@ From interactive search you can also access detailed information on each command |
|
|
|
|
|
##Searching Examples
|
|
|
|
|
|
The last 100 commands you executed anywhere. (100 is default limit without `-n`)
|
|
|
|
|
|
```bash
|
|
|
$ bh
|
|
|
```
|
|
|
|
|
|
The last 20 files I've grep'd.
|
|
|
|
|
|
```bash
|
|
|
$ bh -n 20 "grep"
|
|
|
```
|
|
|
Find that wget command with interactive search to execute it again :P
|
|
|
|
|
|
```bash
|
|
|
$ bh -i "wget github"
|
|
|
```
|
|
|
|
|
|
###Directory based searching
|
|
|
|
|
|
The last commands you executed in this directory.
|
|
|
|
|
|
```bash
|
|
|
$ bh -d
|
|
|
```
|
|
|
|
|
|
The last 10 things you vim'd in this directory
|
|
|
|
|
|
```bash
|
|
|
$ bh -d -n 10 "vim"
|
|
|
```
|
|
|
|
|
|
Enter interactive search for all the rsync commands executed in this directory
|
|
|
|
|
|
```bash
|
|
|
$ bh -i -d
|
|
|
(bashhub-i-search): rsync
|
|
|
```
|
|
|
|
|
|
###System based searching
|
|
|
|
... | ... | |