Skip to content

Commit

Permalink
zshrc: Remove greph
Browse files Browse the repository at this point in the history
Signed-off-by: Frank Terbeck <ft@bewatermyfriend.org>
  • Loading branch information
ft authored and mika committed Dec 6, 2011
1 parent 6149d80 commit 8e9aced
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
3 changes: 0 additions & 3 deletions doc/grmlzshrc.t2t
Expand Up @@ -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).
Expand Down
5 changes: 0 additions & 5 deletions etc/zsh/zshrc
Expand Up @@ -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'
Expand Down

0 comments on commit 8e9aced

Please sign in to comment.