updated language installs
parent
b0acff8297
commit
e44512050f
|
@ -1,2 +1,3 @@
|
||||||
archive/
|
archive/
|
||||||
*.log
|
*.log
|
||||||
|
load/
|
|
@ -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
|
||||||
|
|
|
@ -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
|
|
|
@ -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)
|
|
@ -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
|
|
@ -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"
|
||||||
|
|
Loading…
Reference in New Issue