summaryrefslogtreecommitdiff
path: root/home/.oh-my-zsh/plugins/history/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'home/.oh-my-zsh/plugins/history/README.md')
-rw-r--r--home/.oh-my-zsh/plugins/history/README.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/home/.oh-my-zsh/plugins/history/README.md b/home/.oh-my-zsh/plugins/history/README.md
new file mode 100644
index 0000000..73d6a50
--- /dev/null
+++ b/home/.oh-my-zsh/plugins/history/README.md
@@ -0,0 +1,18 @@
+# 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 |