mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-12-12 20:21:02 +01:00
feat(history): add hl
alias (#11990)
This commit is contained in:
parent
d3112d67a3
commit
f10cd5281d
2 changed files with 2 additions and 0 deletions
|
@ -13,5 +13,6 @@ plugins=(... history)
|
||||||
| Alias | Command | Description |
|
| Alias | Command | Description |
|
||||||
|-------|----------------------|------------------------------------------------------------------|
|
|-------|----------------------|------------------------------------------------------------------|
|
||||||
| `h` | `history` | Prints your command history |
|
| `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 |
|
| `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 |
|
| `hsi` | `history \| grep -i` | Use grep to do a case-insensitive search of your command history |
|
||||||
|
|
|
@ -1,3 +1,4 @@
|
||||||
alias h='history'
|
alias h='history'
|
||||||
|
alias hl='history | less'
|
||||||
alias hs='history | grep'
|
alias hs='history | grep'
|
||||||
alias hsi='history | grep -i'
|
alias hsi='history | grep -i'
|
||||||
|
|
Loading…
Reference in a new issue