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'
|
||||
|
||||
# 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.1"
|
||||
VERSION="2.34.0"
|
||||
|
||||
function install () {
|
||||
cd ~
|
||||
|
|
|
@ -5,12 +5,11 @@ VERSION="1.17.6"
|
|||
function install () {
|
||||
echo "installing go"
|
||||
cd ~
|
||||
wget https://go.dev/dl/go${VERSION}.linux-amd64.tar.gz
|
||||
echo "231654bbf2dab3d86c1619ce799e77b03d96f9b50770297c8f4dff8836fc8ca2" > go${VERSION}.linux-amd64.tar.gz.sha256
|
||||
# sha256sum -c go${VERSION}.linux-amd64.tar.gz.sha256
|
||||
sudo tar -C ${HOME}/go -xzf go${VERSION}.linux-amd64.tar.gz
|
||||
wget https://golang.org/dl/go${VERSION}.linux-amd64.tar.gz
|
||||
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
|
||||
printf "\n\n"
|
||||
|
|
|
@ -1,37 +1,21 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="1.19.2"
|
||||
VERSION="1.18.1"
|
||||
|
||||
function install () {
|
||||
cd ~
|
||||
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
|
||||
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
|
||||
|
||||
git clone --depth=1 https://github.com/janet-lang/jpm.git
|
||||
cd jpm
|
||||
sudo /opt/janet/bin/janet bootstrap.janet
|
||||
|
||||
cd ~
|
||||
sudo rm -rf jpm
|
||||
sudo janet bootstrap.janet
|
||||
|
||||
printf "\n\n"
|
||||
janet -v
|
||||
}
|
||||
|
||||
function uninstall () {
|
||||
echo "uninstalling janet"
|
||||
sudo rm -rf /opt/janet
|
||||
sudo rm /usr/local/bin/jpm
|
||||
sudo rm /usr/local/bin/janet
|
||||
janet --version
|
||||
}
|
||||
|
||||
if [ "$1" == "install" ]; then
|
||||
|
|
|
@ -1,14 +1,12 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
MINOR="1.7"
|
||||
VERSION="1.7.0"
|
||||
MINOR="1.6"
|
||||
VERSION="1.6.3"
|
||||
|
||||
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,12 +1,10 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="3.10.1"
|
||||
VERSION="3.10.0"
|
||||
|
||||
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 \
|
||||
|
@ -22,7 +20,6 @@ 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