Improve path inclusion
This commit is contained in:
parent
8301cbc14b
commit
2a0437f416
@ -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"
|
||||
|
||||
@ -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" ]]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user