export PATH="./bin:~/bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH"

export PATH="./bin:$HOME/bin:/usr/local/bin:/usr/local/sbin:$ZSH/bin:$PATH"

Use $HOME instead of ~ to set PATH
Use $HOME instead of ~ to set PATH
