X-Git-Url: http://git.grml.org/?a=blobdiff_plain;f=etc%2Fzsh%2Fzshrc;h=76eee68e9fd4f2a5c635228bed4ecb467c6ba4c0;hb=8e9aced469c1999ff6faec5ac2b91cfdb6510f3b;hp=a2e4862cd5233c73d98e36e6b0e87c005c220403;hpb=6149d80f8ca2528d2dc21b3b59b857048eb2e6b5;p=grml-etc-core.git 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'