I'm trying to load antigen - the zsh plugin manager. No matter how I try to source it - copying it to /usr/bin/zsh/plugins or just in my home dir, it always fails due to the terminal always adding an unwanted /bin to whatever source command I enter into .zshrc.
This is the error message:
/home/kronos/.antigen/antigen.zsh:source:2: no such file or directory: /home/kronos/.antigen/bin/antigen.zsh
This is the .zshrc line concerning sourcing antigen:
kronos@void ~/configuration a:% cat .zshrc.test | grep antigen
source /home/kronos/.antigen/antigen.zsh
I noticed when echo $PATH that it looks as follows:
kronos@void ~ % echo $PATH
/home/kronos/bin:/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/games:/usr/local/games:/snap/bin
So I assume that the ~/bin line is the culprit here? I don't know where it came from, I didn't add it. How do I remove it?
/home/kronos/.antigen/antigen.zsh
, seems like. Check what's in it.