Skip to content
Snippets Groups Projects
Unverified Commit 20cdbac8 authored by Junegunn Choi's avatar Junegunn Choi
Browse files

[install] Ignore user-defined grep aliases

parent e3e7b336
No related branches found
No related tags found
No related merge requests found
...@@ -257,7 +257,7 @@ has_fish=$(command -v fish > /dev/null && echo 1 || echo 0) ...@@ -257,7 +257,7 @@ has_fish=$(command -v fish > /dev/null && echo 1 || echo 0)
if [ $has_fish -eq 1 ]; then if [ $has_fish -eq 1 ]; then
echo -n "Update fish_user_paths ... " echo -n "Update fish_user_paths ... "
fish << EOF 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 or set --universal fish_user_paths \$fish_user_paths $fzf_base/bin
EOF EOF
[ $? -eq 0 ] && echo "OK" || echo "Failed" [ $? -eq 0 ] && echo "OK" || echo "Failed"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment