mirror of https://github.com/aldy505/dotfiles.git
more updatess
This commit is contained in:
parent
aa545b0b45
commit
6f1a65c9b3
|
@ -90,6 +90,8 @@ fi
|
|||
#export GCC_COLORS='error=01;31:warning=01;35:note=01;36:caret=01;32:locus=01:quote=01'
|
||||
|
||||
# some more ls aliases
|
||||
alias cat=bat
|
||||
alias ls=exa
|
||||
alias ll='ls -alF'
|
||||
alias la='ls -A'
|
||||
alias l='ls -CF'
|
||||
|
|
|
@ -27,4 +27,4 @@ else
|
|||
end
|
||||
|
||||
run(`git clone --depth=1 $repo $directory`)
|
||||
run(`rm -rf $directory/.git`)
|
||||
run(`rm -rf $directory/.git`)
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="2.34.0"
|
||||
VERSION="2.34.1"
|
||||
|
||||
function install () {
|
||||
cd ~
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="1.17.3"
|
||||
VERSION="1.17.5"
|
||||
|
||||
function install () {
|
||||
echo "installing go"
|
||||
cd ~
|
||||
wget https://golang.org/dl/go${VERSION}.linux-amd64.tar.gz
|
||||
wget https://go.dev/dl/go${VERSION}.linux-amd64.tar.gz
|
||||
echo "bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e" > go${VERSION}.linux-amd64.tar.gz.sha256
|
||||
sha256sum -c go${VERSION}.linux-amd64.tar.gz.sha256
|
||||
sudo rm -rf /usr/local/go
|
||||
sudo tar -C /usr/local -xzf go${VERSION}.linux-amd64.tar.gz
|
||||
sudo rm go${VERSION}.linux-amd64.tar.gz
|
||||
sudo rm go${VERSION}.linux-amd64.tar.gz.sha256
|
||||
sudo rm -rf ${HOME}/.config/go
|
||||
sudo mkdir ${HOME}/.config/go
|
||||
sudo ln -s ${DOTFILES_PATH}/go/env ${HOME}/.config/go/env
|
||||
|
|
|
@ -1,21 +1,37 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="1.18.1"
|
||||
VERSION="1.19.2"
|
||||
|
||||
function install () {
|
||||
cd ~
|
||||
wget https://github.com/janet-lang/janet/releases/download/v${VERSION}/janet-v${VERSION}-linux-x64.tar.gz
|
||||
tar zxvf janet-v${VERSION}-linux-x64.tar.gz
|
||||
sudo mv janet-v${VERSION}-linux janet
|
||||
sudo mv janet /opt/janet
|
||||
sudo rm janet-v${VERSION}-linux-x64.tar.gz
|
||||
wget https://github.com/janet-lang/janet/archive/refs/tags/v${VERSION}.tar.gz
|
||||
tar zxvf v${VERSION}.tar.gz
|
||||
cd janet-${VERSION}
|
||||
sudo make
|
||||
sudo make test
|
||||
sudo mv -v build bin
|
||||
cd ~
|
||||
sudo mv -v janet-${VERSION} /opt/janet
|
||||
sudo rm v${VERSION}.tar.gz
|
||||
sudo rm -rf janet-${VERSION}
|
||||
sudo ln -s /opt/janet/bin/janet /usr/local/bin/janet
|
||||
|
||||
git clone --depth=1 https://github.com/janet-lang/jpm.git
|
||||
cd jpm
|
||||
sudo janet bootstrap.janet
|
||||
sudo /opt/janet/bin/janet bootstrap.janet
|
||||
|
||||
cd ~
|
||||
sudo rm -rf jpm
|
||||
|
||||
printf "\n\n"
|
||||
janet --version
|
||||
janet -v
|
||||
}
|
||||
|
||||
function uninstall () {
|
||||
echo "uninstalling janet"
|
||||
sudo rm -rf /opt/janet
|
||||
sudo rm /usr/local/bin/jpm
|
||||
sudo rm /usr/local/bin/janet
|
||||
}
|
||||
|
||||
if [ "$1" == "install" ]; then
|
||||
|
|
|
@ -1,12 +1,14 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
MINOR="1.6"
|
||||
VERSION="1.6.3"
|
||||
MINOR="1.7"
|
||||
VERSION="1.7.0"
|
||||
|
||||
function install () {
|
||||
echo "installing julia"
|
||||
cd ~
|
||||
wget https://julialang-s3.julialang.org/bin/linux/x64/${MINOR}/julia-${VERSION}-linux-x86_64.tar.gz
|
||||
wget https://julialang-s3.julialang.org/bin/checksums/julia-${VERSION}.sha256
|
||||
sha256sum -c julia-${VERSION}
|
||||
tar zxvf julia-${VERSION}-linux-x86_64.tar.gz
|
||||
sudo mv julia-${VERSION} julia
|
||||
sudo mv julia /opt/julia
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="3.10.0"
|
||||
VERSION="3.10.1"
|
||||
|
||||
function install () {
|
||||
cd ~
|
||||
curl -O https://www.python.org/ftp/python/${VERSION}/Python-${VERSION}.tgz
|
||||
echo "91822157a97da16203877400c810d93e" > Python-${VERSION}.tgz.md5
|
||||
md5sum -c Python-${VERSION}.tgz.md5
|
||||
sudo tar -xvzf Python-${VERSION}.tgz
|
||||
cd Python-${VERSION}
|
||||
./configure \
|
||||
|
@ -20,6 +22,7 @@ function install () {
|
|||
sudo /opt/python/${VERSION}/bin/python3 get-pip.py
|
||||
|
||||
sudo rm Python-${VERSION}.tgz
|
||||
sudo rm Python-${VERSION}.tgz.md5
|
||||
sudo rm -rf Python-${VERSION}
|
||||
sudo rm get-pip.py
|
||||
|
||||
|
|
Loading…
Reference in New Issue