install instructions for PATH don't insert a newline #705
Reference in New Issue
Block a user
No description provided.
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Heya, just ran the install instructions and this step didn't work:
echo PATH=$PATH:/Users/kim/.local/bin >> /Users/kim/.zshrcIt concatenated it with the last line in my .zshrc instead of adding it to a new line. on adding the line manually it's working again.
.zsh / macos / iterm2
Hey @kimadactyl, thanks for the report.
That's strange however, I thought
echo foo >> fooalways adds the newline? Is this perhaps something to do with with a missing newline in your.zshrcat the time? Can you manually test thatecho TEST >> /Users/kim/.zshrcdefinitely misses the newline?We don't have any logic atm in the installer script that deals with newlines:
yeah it works normally! and your example works too.
@kimadactyl OK 🤔 Then I really don't know what originally would have caused the issue? If you have ideas, I'm happy to hear it. Otherwise, shall we just assume this was a ghost in your computer and close the issue? 😛
yep ok ill reopen if i can reproduce!