Improve path inclusion

This commit is contained in:
2025-07-04 09:02:19 +09:00
parent 8301cbc14b
commit 2a0437f416
2 changed files with 1 additions and 8 deletions
-7
View File
@@ -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" ]]