updated language installs

master
David Kebler 2024-08-01 15:51:52 -07:00
parent b0acff8297
commit e44512050f
7 changed files with 13 additions and 12 deletions

1
.gitignore vendored
View File

@ -1,2 +1,3 @@
archive/ archive/
*.log *.log
load/

View File

@ -1,8 +1,8 @@
#!/bin/bash #!/bin/bash
if command -v fnm >/dev/null 2>&1; then if command -v fnm >/dev/null 2>&1; then
mkdir -p $BASH_SHELL_HOST/load/coding mkdir -p $BASH_SHELL_HOSTNAME/load/coding
ln -s $BASH_SHELL_ANY_HOST/lang/fnm $BASH_SHELL_HOST/load/coding/00-fnm ln -s $BASH_SHELL_HOST/lang/fnm/fnm.env $BASH_SHELL_HOSTNAME/load/coding/00-fnm.env
ln -s -f $BASH_SHELL_ANY_HOST/lang/node $BASH_SHELL_HOST/load/coding/node ln -s $BASH_SHELL_HOST/lang/node $BASH_SHELL_HOSTNAME/load/coding
else else
echo fnm has not been installed on this machine or is not in the path echo fnm has not been installed on this machine or is not in the path
echo do so and try again echo do so and try again

View File

@ -1,7 +0,0 @@
#!/bin/bash
if command -v node >/dev/null 2>&1; then
alias ndv="node --version"
alias ndw="command -v node"
fi

View File

@ -1 +1 @@
this gets loaded via one of the version managers (nvm,fnm,proto) # this gets loaded via one of the version managers (nvm,fnm,proto)

8
lang/python/python.inst Executable file
View File

@ -0,0 +1,8 @@
#!/bin/bash
if command -v python >/dev/null 2>&1; then
mkdir -p $BASH_SHELL_HOSTNAME/load/coding
ln -s $BASH_SHELL_HOST/lang/python/python.lib $BASH_SHELL_HOSTNAME/load/coding/python
else
echo python has not been installed on this machine or is not in the path
echo do so and try again
fi

View File

@ -1,5 +1,4 @@
#!/bin/bash #!/bin/bash
command -v python3 >/dev/null 2>&1 || return command -v python3 >/dev/null 2>&1 || return
alias python3x="sudo -H python3 -m" alias python3x="sudo -H python3 -m"