Browse Source

Merge pull request #1186 from r-darwish/history

Added history plugin
Robby Russell 12 years ago
parent
commit
5f41ecd7b8
1 changed files with 8 additions and 0 deletions
  1. 8 0
      plugins/history/history.plugin.zsh

+ 8 - 0
plugins/history/history.plugin.zsh

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