You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
18 lines
842 B
18 lines
842 B
# history plugin |
|
|
|
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: |
|
|
|
```zsh |
|
plugins=(... history) |
|
``` |
|
|
|
## Aliases |
|
|
|
| Alias | Command | Description | |
|
|-------|----------------------|------------------------------------------------------------------| |
|
| `h` | `history` | Prints your command history | |
|
| `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 |
|
|
|