README.md 742 Bytes
Newer Older
1
# history plugin
wyldphyre's avatar
wyldphyre committed
2
3
4

Provides a couple of convenient aliases for using the `history` command to examine your command line history.

5
To use it, add `history` to the plugins array in your zshrc file:
wyldphyre's avatar
wyldphyre committed
6

7
8
9
```zsh
plugins=(... history)
```
wyldphyre's avatar
wyldphyre committed
10

11
## Aliases
wyldphyre's avatar
wyldphyre committed
12

13
14
15
16
17
| Alias | Command              | Description                                                      |
|-------|----------------------|------------------------------------------------------------------|
| `h`   | `history`            | Prints your command history                                      |
| `hs`  | `history \| grep`    | Use grep to search your command history                          |
| `hsi` | `history \| grep -i` | Use grep to do a case-insensitive search of your command history |