From 8e9aced469c1999ff6faec5ac2b91cfdb6510f3b Mon Sep 17 00:00:00 2001 From: Frank Terbeck Date: Tue, 29 Nov 2011 12:20:39 +0100 Subject: [PATCH] zshrc: Remove greph Signed-off-by: Frank Terbeck --- doc/grmlzshrc.t2t | 3 --- etc/zsh/zshrc | 5 ----- 2 files changed, 8 deletions(-) diff --git a/doc/grmlzshrc.t2t b/doc/grmlzshrc.t2t index c4289ff..e8bec73 100644 --- a/doc/grmlzshrc.t2t +++ b/doc/grmlzshrc.t2t @@ -598,9 +598,6 @@ Searches the arguments on Google Groups, a web to USENET gateway. : **google()** Searches the search engine Google using arguments as search string. -: **greph()** -Searches the zsh command history for a regular expression. - : **hex()** Prints the hexadecimal representation of the number supplied as argument (base ten only). diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index a2e4862..76eee68 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2872,11 +2872,6 @@ modified() { # modified() was named new() in earlier versions, add an alias for backwards compatibility check_com new || alias new=modified -#f5# Grep in history -greph() { - emulate -L zsh - history 0 | grep $1 -} # use colors when GNU grep with color-support #a2# Execute \kbd{grep -{}-color=auto} (grep --help 2>/dev/null |grep -- --color) >/dev/null && alias grep='grep --color=auto' -- 2.1.4