Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

pm.zsh path in installation script for .zshrc #23

Open
SuddenlyPineapple opened this issue Apr 10, 2020 · 2 comments
Open

pm.zsh path in installation script for .zshrc #23

SuddenlyPineapple opened this issue Apr 10, 2020 · 2 comments

Comments

@SuddenlyPineapple
Copy link

Hey, I've got problem when installing pm like described in README. Looks like path to pm.zsh file is set to /pm/pm.zsh (while pm.zsh is in home folder (/) ) in zsh config file (~/.zshrc). I've got that problem on two PCs and has to change path in .zshrc manually. It would be nice to fix this :)

@SuddenlyPineapple SuddenlyPineapple changed the title ZSH Path in installation script pm.zsh path in installation script for .zshrc Apr 10, 2020
@Angelmmiguel
Copy link
Owner

Hello @SuddenlyPineapple ,

In the install.sh script, I'm setting the pm folder to PM_BASE=$HOME/.pm. This is the path where the script is installed. Regarding the .zshrc, it also relies on PM_BASE:

echo "source $PM_BASE/pm.zsh" >> .zshrc

Please, could you check the value of $HOME in your terminal? Maybe, this environment variable is missing in your case.

Thank you for submitting the issue and glad you found a workaround to fix it :)

@SuddenlyPineapple
Copy link
Author

SuddenlyPineapple commented Apr 24, 2020

My $HOME value is (checked on 64bit Mac OS X 10.15.3 19D76):
/Users/username
Same path is for WSL in Windows 10 1909
And i'm sure it wasn't changed manually.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants