1
0
Fork 0
mirror of https://github.com/ohmyzsh/ohmyzsh.git synced 2024-12-23 21:01:58 +00:00
ohmyzsh/plugins/history/README.md

19 lines
842 B
Markdown
Raw Normal View History

# history plugin
2015-02-27 02:56:14 +00:00
Provides a couple of convenient aliases for using the `history` command to examine your command line history.
To use it, add `history` to the plugins array in your zshrc file:
2015-02-27 02:56:14 +00:00
```zsh
plugins=(... history)
```
2015-02-27 02:56:14 +00:00
## Aliases
2015-02-27 02:56:14 +00:00
| Alias | Command | Description |
|-------|----------------------|------------------------------------------------------------------|
| `h` | `history` | Prints your command history |
2023-10-18 11:59:28 +00:00
| `hl` | `history \| less` | Pipe history output to less to search and navigate it easily |
| `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 |