Improve path inclusion
This commit is contained in:
@@ -35,13 +35,6 @@ if [[ ":$PATH:" == *":$bin:"* ]]
|
||||
export PATH="$bin:$PATH"
|
||||
fi
|
||||
|
||||
if [[ ":$PATH:" == *":$HOME/bin:"* ]]
|
||||
then
|
||||
echo "'$HOME/bin' is in '$PATH' -- skipping"
|
||||
else
|
||||
export PATH="$HOME/bin:$PATH"
|
||||
fi
|
||||
|
||||
for rc in ~/.bashrc ~/.bash_profile ~/.profile ~/.zshrc ~/.zprofile ~/.zshenv
|
||||
do
|
||||
if [[ -f "$rc" ]]
|
||||
|
||||
Reference in New Issue
Block a user