[install] Ignore user-defined grep aliases
This commit is contained in:
parent
e3e7b3360c
commit
20cdbac8c3
2
install
2
install
@ -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"
|
||||||
|
Loading…
Reference in New Issue
Block a user