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