From 27ef720d8e758dc7d7c7026bccce6398baf2d7e5 Mon Sep 17 00:00:00 2001 From: Reinaldy Rafli Date: Wed, 13 Oct 2021 23:32:29 +0700 Subject: [PATCH] update python and deb script --- bash/.bashrc | 5 +++-- bash/.profile | 1 + scripts/python.sh | 2 +- setup_deb.sh | 2 +- 4 files changed, 6 insertions(+), 4 deletions(-) diff --git a/bash/.bashrc b/bash/.bashrc index 928db00..aa267c3 100644 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -2,6 +2,8 @@ # see /usr/share/doc/bash/examples/startup-files (in the package bash-doc) # for examples export ME="/home/$(whoami)" +export DOTFILES_PATH=/home/reinaldy/.dotfiles + # If not running interactively, don't do anything case $- in *i*) ;; @@ -118,7 +120,7 @@ if ! shopt -oq posix; then fi # fnm -export PATH=$ME/.fnm:/opt/julia/bin:/opt/python/3.9.6/bin:/usr/lib/jvm/java-11-openjdk-amd64/bin:/opt/bin:$ME/.fly/bin:$ME/go/bin:$DOTFILES_PATH/bin:$PATH +export PATH=$ME/.fnm:/opt/julia/bin:/opt/python/3.10.0/bin:/usr/lib/jvm/java-11-openjdk-amd64/bin:/opt/bin:$ME/.fly/bin:$ME/go/bin:$DOTFILES_PATH/bin:$PATH eval "`fnm env`" export LIBGL_ALWAYS_INDIRECT=1 @@ -140,5 +142,4 @@ export GPG_AGENT_INFO=${HOME}/.gnupg/S.gpg-agent:0:1 export EDITOR="micro" export COLORTERM="truecolor" export JAVA_HOME=/usr/lib/jvm/java-11-openjdk-amd64 -export DOTFILES_PATH=/home/reinaldy/.dotfiles eval "$(starship init bash)" diff --git a/bash/.profile b/bash/.profile index 46c078a..1835d43 100644 --- a/bash/.profile +++ b/bash/.profile @@ -30,3 +30,4 @@ export GOPATH=$HOME/go export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH # :/usr/local/pypy3.7-v7.3.5-linux64/bin +. "$HOME/.cargo/env" diff --git a/scripts/python.sh b/scripts/python.sh index c27e72a..100ef36 100755 --- a/scripts/python.sh +++ b/scripts/python.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="3.9.6" +VERSION="3.10.0" function install () { cd ~ diff --git a/setup_deb.sh b/setup_deb.sh index ca3cc53..619b7f6 100755 --- a/setup_deb.sh +++ b/setup_deb.sh @@ -55,7 +55,7 @@ fi ./scripts/go.sh install ./scripts/julia.sh install - + ./scripts/rust.sh install ./scripts/java.sh install_alt