... | @@ -12,13 +12,6 @@ You can search through your commands in a lot of different ways. Check `bh --hel |
... | @@ -12,13 +12,6 @@ You can search through your commands in a lot of different ways. Check `bh --hel |
|
##Interactive Search
|
|
##Interactive Search
|
|
One of the most useful features is interactive search which is accessed via `bh -i` or `ctrl + b`. This is similar to reverse search i.e. `ctrl + r`. Interactive search drops you into a small menu where you can select a command to run on the command line.
|
|
One of the most useful features is interactive search which is accessed via `bh -i` or `ctrl + b`. This is similar to reverse search i.e. `ctrl + r`. Interactive search drops you into a small menu where you can select a command to run on the command line.
|
|
|
|
|
|
Enter interactive search for all the rsync commands executed in this directory
|
|
|
|
|
|
|
|
```bash
|
|
|
|
$ bh -i -d
|
|
|
|
(bashhub-i-search): rsync
|
|
|
|
```
|
|
|
|
|
|
|
|
Here's an example of interactive search followed by bashhub status.
|
|
Here's an example of interactive search followed by bashhub status.
|
|
![gif](http://i.imgur.com/fCIYlfO.gif)
|
|
![gif](http://i.imgur.com/fCIYlfO.gif)
|
|
|
|
|
... | @@ -53,6 +46,11 @@ The last 10 things you vim'd in this directory |
... | @@ -53,6 +46,11 @@ The last 10 things you vim'd in this directory |
|
```bash
|
|
```bash
|
|
$ bh -d -n 10 "vim"
|
|
$ 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
|
|
###System based searching
|
|
|
|
|
... | | ... | |