Skip to content

Commit

Permalink
changed tilde to home to fix for .zshrc (#625)
Browse files Browse the repository at this point in the history
  • Loading branch information
David Brear authored and Sebastian McKenzie committed Oct 11, 2016
1 parent fc4ca7f commit 131bc3a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/install-latest.sh
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ yarn_get_tarball() {
yarn_link() {
printf "$cyan> Adding to \$PATH...$reset\n"
YARN_PROFILE="$(yarn_detect_profile)"
SOURCE_STR="\nexport PATH=\"~/.yarn/bin:\$PATH\"\n"
SOURCE_STR="\nexport PATH=\"\$HOME/.yarn/bin:\$PATH\"\n"

if [ -z "${YARN_PROFILE-}" ] ; then
printf "$red> Profile not found. Tried ${YARN_PROFILE} (as defined in \$PROFILE), ~/.bashrc, ~/.bash_profile, ~/.zshrc, and ~/.profile.\n"
Expand Down

0 comments on commit 131bc3a

Please sign in to comment.