/usr/share/bash-completion/bash_completion:45: command not found: shopt
/usr/share/bash-completion/bash_completion:104: command not found: complete
/usr/share/bash-completion/bash_completion:107: command not found: complete
/usr/share/bash-completion/bash_completion:110: command not found: complete
/usr/share/bash-completion/bash_completion:113: command not found: complete
/usr/share/bash-completion/bash_completion:116: command not found: complete
/usr/share/bash-completion/bash_completion:119: command not found: complete
/usr/share/bash-completion/bash_completion:122: command not found: complete
/usr/share/bash-completion/bash_completion:125: command not found: complete
_comp_dequote__initialize:unset:5: no such hash table element:
/usr/share/bash-completion/bash_completion:617: parse error near `&'
/home/binarydepth/.bashrc:type:65: bad option: -P
/home/binarydepth/.bashrc:106: command not found: shopt
/home/binarydepth/.bashrc:108: command not found: shopt
/home/binarydepth/.bashrc:113: command not found: shoptmpletion/bash_completion:122: command not found: complete
/usr/share/bash-completion/bash_completion:125: command not found: complete
_comp_dequote__initialize:unset:5: no such hash table element:
/usr/share/bash-completion/bash_completion:617: parse error near `&'
/home/$USER/.bashrc:type:65: bad option: -P
/home/$USER/.bashrc:106: command not found: shopt
/home/$USER/.bashrc:108: command not found: shopt
/home/$USER/.bashrc:113: command not found: shopt
This has nothing to do with your path but can be indicator for 100 other things. Without more information it will be hard. Filesystem corruption, incomplete update…are some things to check.
P.s. or of course a typo, or wrong line ending or similar in the bash_profile. But you did not tell us the beginning of the story.
No, it didn’t, because you didn’t actually change anything.
XY Problem detected: You’re asking about your attempted solution rather than your actual problem. This leads to enormous amounts of wasted time and energy, both on the part of people asking for help, and on the part of those providing help.
I’m not going to tell you to do anything. I’ve said what I said–which includes reviewing and abiding by the Forum Rules.
Your topic is now hidden from the public temporarily until you can prove that you can abide by the rules you agreed to when you created an account on this forum.