Skip to content

Commit 0efc06f

Browse files
kaykayehnnDaniel15
authored andcommitted
Make PATH check stricter in install script (#1012)
1 parent 78a3f1c commit 0efc06f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

install.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ yarn_link() {
9191
printf "> Append the following lines to the correct file yourself:$reset\n"
9292
command printf "${SOURCE_STR}"
9393
else
94-
if ! grep -q 'yarn' "$YARN_PROFILE"; then
94+
if ! grep -q 'yarn/bin' "$YARN_PROFILE"; then
9595
if [[ $YARN_PROFILE == *"fish"* ]]; then
9696
command fish -c 'set -U fish_user_paths $fish_user_paths ~/.yarn/bin'
9797
printf "$cyan> We've added ~/.yarn/bin to your fish_user_paths universal variable\n"

0 commit comments

Comments
 (0)