Add zsh/oh my zsh/w10k
This commit is contained in:
15
zsh/.oh-my-zsh/plugins/history/README.md
Normal file
15
zsh/.oh-my-zsh/plugins/history/README.md
Normal file
@ -0,0 +1,15 @@
|
||||
## history
|
||||
|
||||
Provides a couple of convenient aliases for using the `history` command to examine your command line history.
|
||||
|
||||
### Requirements
|
||||
|
||||
* None.
|
||||
|
||||
### Usage
|
||||
|
||||
* 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
|
8
zsh/.oh-my-zsh/plugins/history/history.plugin.zsh
Normal file
8
zsh/.oh-my-zsh/plugins/history/history.plugin.zsh
Normal file
@ -0,0 +1,8 @@
|
||||
alias h='history'
|
||||
|
||||
function hs
|
||||
{
|
||||
history | grep $*
|
||||
}
|
||||
|
||||
alias hsi='hs -i'
|
Reference in New Issue
Block a user