dotfiles

commit 81d98e64dced1925df71bc905f0a679000fefbf0

Author: Honza Pokorny <me@honza.ca>

Remove grep things from fish config

 fish/config.fish | 3 ++-


diff --git a/fish/config.fish b/fish/config.fish
index b4c86960801347a01332bf89b9b6a3bc6eee2936..68d04aaa8b79f2a32d57689720996cb34e8a52b9 100644
--- a/fish/config.fish
+++ b/fish/config.fish
@@ -1,3 +1,4 @@
+set -e GREP_OPTIONS
 set BROWSER open
 
 set -g -x SHELL /bin/fish
@@ -85,7 +86,7 @@ alias cuts "cut -d' '"
 alias collapse="sed -e 's/  */ /g'"
 
 function psg -d "Grep for a running process, returning its PID and full string"
-    ps auxww | grep --color=always $argv | grep -v grep | collapse | cuts -f 2,11-
+    ps auxww | grep $argv | grep -v grep | collapse | cuts -f 2,11-
 end
 
 function prepend_to_path -d "Prepend the given dir to PATH if it exists and is not already in it"