From 20cdbac8c3d9e658a0bf6cf3051981d0910793f2 Mon Sep 17 00:00:00 2001 From: Junegunn Choi Date: Sun, 3 Sep 2017 11:38:22 +0900 Subject: [PATCH] [install] Ignore user-defined grep aliases --- install | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install b/install index f51479f..1a7f6c7 100755 --- a/install +++ b/install @@ -257,7 +257,7 @@ has_fish=$(command -v fish > /dev/null && echo 1 || echo 0) if [ $has_fish -eq 1 ]; then echo -n "Update fish_user_paths ... " fish << EOF - echo \$fish_user_paths | grep $fzf_base/bin > /dev/null + echo \$fish_user_paths | \grep $fzf_base/bin > /dev/null or set --universal fish_user_paths \$fish_user_paths $fzf_base/bin EOF [ $? -eq 0 ] && echo "OK" || echo "Failed"