diff --git a/acme-install.sh b/acme-install.sh new file mode 100644 index 0000000..efe37e4 --- /dev/null +++ b/acme-install.sh @@ -0,0 +1,3 @@ +curl https://get.acme.sh | sh -s email=acme.sh@faronear.org + +# echo '. "/root/.acme.sh/acme.sh.env"' >> ~/.bashrc_custom ## already integrated in .bashrc \ No newline at end of file diff --git a/ipfs-install.sh b/ipfs-install.sh index b0386be..4914d36 100644 --- a/ipfs-install.sh +++ b/ipfs-install.sh @@ -1,4 +1,5 @@ -wget https://dist.ipfs.io/go-ipfs/v0.12.2/go-ipfs_v0.12.2_linux-amd64.tar.gz -tar -xvzf go-ipfs_v0.12.2_linux-amd64.tar.gz -cd go-ipfs -sudo mv ipfs /usr/local/bin/ +wget https://dist.ipfs.tech/kubo/v0.16.0/kubo_v0.16.0_linux-amd64.tar.gz +tar xzf https://dist.ipfs.tech/kubo/v0.16.0/kubo_v0.16.0_linux-amd64.tar.gz +cd kubo +echo "alias ipfs=`pwd`/kubo/ipfs" >> ~/.bashrc_custom +alias ipfs=`pwd`/kubo/ipfs \ No newline at end of file diff --git a/nixhome/.bashrc b/nixhome/.bashrc index eb819de..0638f34 100644 --- a/nixhome/.bashrc +++ b/nixhome/.bashrc @@ -95,6 +95,12 @@ then [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion fi +# acme.sh settings +if [ -f $HOME/.acme.sh/acme.sh.env ] +then + . "/root/.acme.sh/acme.sh.env" +fi + # let MacOS uses the same variable so that vscode-sshfs can use "$USERPROFILE/.ssh/id_rsa" uniformly. export USERPROFILE=$HOME