When I echo
$PATH
I get:
/Library/Frameworks/Python.framework/Versions/3.5/bin:/usr/local/bin:/usr/bin:/bin:/usr/sbin:/sbin:/Users/arukaj/Library/Android/sdk/platform-tools/:/Applications/XAMPP/xamppfiles/bin/:/Applications/XAMPP/xamppfiles/
However, I have no idea where this stuff is coming from.
When I try cat ~/.bashrc
, I get PS1='\u@\h:\w\$ '
for my shell formatting.
If I try cat ~/.bash_profile
, I get:
# Setting PATH for Python 3.5
# The original version is saved in .bash_profile.pysave
PATH="/Library/Frameworks/Python.framework/Versions/3.5/bin:${PATH}"
export PATH
if [ -f ~/.bashrc ]; then
source ~/.bashrc
fi
Is the PATH
environmental variable being constructed before .bash_profile
is read? It looks like it's appending Python onto the front of the current PATH
and then exporting itself as PATH
again, although I don't know why the syntax is ${PATH}
here as opposed to $PATH
.
Anyhow, I don't know where the Android and XAMPP stuff is coming from. How do I know where to look?
Asked by AJJ
(141 rep)
Sep 29, 2017, 05:30 PM
Last activity: Feb 29, 2024, 08:21 PM
Last activity: Feb 29, 2024, 08:21 PM