dotfiles icon indicating copy to clipboard operation
dotfiles copied to clipboard

zsh profile not fully loading on terminal startup (iTerm2 + Monterrey)

Open markelld opened this issue 2 years ago • 3 comments

Hello,

This might be a simple oversight on my part, but I noticed I've had to manually run source ~/.zshrc each time I start my terminal, in order to access commands like node and yarn.

Dotfiles were installed on a new Macbook Air 2022, running Monterrey 12.4 (fresh install).

Screen Shot 2022-07-27 at 3 47 47 PM

Here is my $PATH before and after running source: Screen Shot 2022-07-27 at 3 40 22 PM

I ran followed the instructions on the README, but seems like an additional step is required? Could it be a preference/setting in iTerm2?

Thanks in advance.

markelld avatar Jul 27 '22 20:07 markelld

Hi @markelld thanks for the report. Could you try creating a .zprofile in your home directory with the following entry eval "$(/opt/homebrew/bin/brew shellenv)" and see if that resolves your path issue? I recently setup an M1 mac and had a similar issue until I added .zprofile with this command.

danielnolan avatar Sep 20 '22 21:09 danielnolan

@danielnolan So I tried this command but it has not rectified the issue, sorry for the late reply. Also I am getting not output from the command.

markelld avatar Oct 13 '22 15:10 markelld

@markelld try pulling down the latest from main, then running the rcup command.

It looks like @danielnolan made changes that should resolve the issue

mrjonesbot avatar Oct 13 '22 15:10 mrjonesbot

@markelld did you try @mrjonesbot suggestion? Is this still an issue for you?

danielnolan avatar Mar 08 '23 19:03 danielnolan

@danielnolan Thanks for replying, This was resolved.

markelld avatar Mar 08 '23 22:03 markelld