Improve path inclusion

This commit is contained in:
Craig Everett 2025-07-04 09:02:19 +09:00
parent 8301cbc14b
commit 2a0437f416
2 changed files with 1 additions and 8 deletions

View File

@ -3,7 +3,7 @@
# A convenience script that will download the ZX installer, unpack it, and clean up.
# For maximum portability this script uses the gzipped package version.
version=0.13.6
version=0.14.0
zx="zx-$version"
tarball="$zx.tar.gz"
target="https://zxq9.com/projects/zomp/$tarball"

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" ]]