pm
pm copied to clipboard
pm.zsh path in installation script for .zshrc
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 :)
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 :)
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.