1
0
mirror of https://github.com/robbyrussell/oh-my-zsh.git synced 2025-12-06 07:20:40 +01:00

Clean up plugin READMEs and a few plugins

- fasd
- history
- mercurial
- pylint
- repo
- yii2
This commit is contained in:
Marc Cornellà
2020-03-11 19:57:46 +01:00
parent ff6d111d79
commit 610b2529d2
73 changed files with 528 additions and 535 deletions

View File

@@ -1,15 +1,17 @@
## history
# history plugin
Provides a couple of convenient aliases for using the `history` command to examine your command line history.
### Requirements
To use it, add `history` to the plugins array in your zshrc file:
* None.
```zsh
plugins=(... history)
```
### Usage
## Aliases
* If `h` is called, your command history is listed. Equivalent to using `history`
* If `hsi` is called with an argument, a **case insensitive** `grep` search is performed on your command history, looking for commands that match the argument provided
* If `hsi` is called without an argument you will help on `grep` arguments
| 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 |

View File

@@ -1,8 +1,3 @@
alias h='history'
function hs
{
history | grep $*
}
alias hsi='hs -i'
alias hs='history | grep'
alias hsi='history | grep -i'