From 05260a8177983e048040929718856616c0a4b48e Mon Sep 17 00:00:00 2001 From: Bernhard Tittelbach Date: Sun, 24 Jul 2011 20:31:30 +0200 Subject: [PATCH] zsh: make any() case insensitive On OS-X processes tend to start with an Uppercase letter. And sometimes they mix captialization even with multiple processes of the same application. --- etc/zsh/zshrc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/etc/zsh/zshrc b/etc/zsh/zshrc index 3c472d6..9767008 100644 --- a/etc/zsh/zshrc +++ b/etc/zsh/zshrc @@ -2245,7 +2245,7 @@ any() { echo "any - grep for process(es) by keyword" >&2 echo "Usage: any " >&2 ; return 1 else - ps xauwww | grep --color=auto "[${1[1]}]${1[2,-1]}" + ps xauwww | grep -i --color=auto "[${1[1]}]${1[2,-1]}" fi } -- 2.1.4