diff --git a/bash/.bashrc b/bash/.bashrc index e8770e6..5ed8573 100755 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -122,7 +122,8 @@ fi # fnm PATH=$DOTFILES_PATH/bin:$ME/.local/bin:$ME/.local/kitty.app/bin/kitty:$PATH PATH=$ME/.poetry/bin:/usr/lib/jvm/java-11-openjdk-amd64/bin:/opt/bin:$ME/.fly/bin:/usr/local/go/bin:$ME/go/bin:$PATH -export PATH=$ME/.fnm:$ME/.rbenv/bin:/opt/julia/bin:/opt/swift/usr/bin:/opt/janet/bin:/opt/python/3.10.1/bin:/opt:/opt/zig:$PATH +PATH=$ME/.fnm:$ME/.rbenv/bin:/opt/julia/bin:/opt/swift/usr/bin:/opt/janet/bin:/opt/python/3.10.6/bin:/opt:/opt/zig:$PATH + eval "`fnm env`" eval "$(rbenv init - bash)" @@ -143,9 +144,22 @@ export GPG_AGENT_INFO=${HOME}/.gnupg/S.gpg-agent:0:1 export EDITOR="micro" export COLORTERM="truecolor" -export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64 eval "$(starship init bash)" #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! [[ -s "/home/reinaldy/.sdkman/bin/sdkman-init.sh" ]] && source "/home/reinaldy/.sdkman/bin/sdkman-init.sh" . "$HOME/.cargo/env" + +export DENO_INSTALL="/home/reinaldy/.deno" +export JAVA_HOME=/opt/java +export PATH=$PATH:$JAVA_HOME/bin:$DENO_INSTALL/bin + +complete -C /usr/local/bin/mc mc + +if ! pgrep ssh-agent > /dev/null; then + rm -f /tmp/ssh-auth-sock + eval "$(ssh-agent -s -a /tmp/ssh-auth-sock)" + ssh-add +else + export SSH_AUTH_SOCK=/tmp/ssh-auth-sock +fi diff --git a/bash/.profile b/bash/.profile index c282a42..a45a444 100755 --- a/bash/.profile +++ b/bash/.profile @@ -27,9 +27,7 @@ if [ -d "$HOME/.local/bin" ] ; then fi export GOPATH=$HOME/go -export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH +export PATH=/usr/local/go/bin:$GOPATH/bin:$HOME/.poetry/bin:$PATH # :/usr/local/pypy3.7-v7.3.5-linux64/bin . "$HOME/.cargo/env" - -export PATH="$HOME/.poetry/bin:$PATH" diff --git a/git/.gitconfig b/git/.gitconfig index 4fd9d27..b64565d 100755 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -18,8 +18,8 @@ path = ~/repository/.gitconfig [user] - signingkey = 748A8EC5DB8653E8 - email = aldy505@tutanota.com + signingkey = EA1B2522C1693EC8 + email = aldy505@proton.me name = Reinaldy Rafli [core] @@ -41,4 +41,4 @@ defaultBranch = master [commit] - gpgSign = true \ No newline at end of file + gpgSign = true diff --git a/scripts/git.sh b/scripts/git.sh index 00bfd6f..f5fcb81 100755 --- a/scripts/git.sh +++ b/scripts/git.sh @@ -1,14 +1,14 @@ #!/usr/bin/env bash -VERSION="2.35.2" +VERSION="2.37.2" function install () { cd ~ wget https://github.com/git/git/archive/refs/tags/v${VERSION}.zip sudo unzip v${VERSION}.zip cd git-${VERSION} - sudo make prefix=/usr/local all - sudo make prefix=/usr/local install + sudo make prefix=/usr/local all -j $(nproc) + sudo make prefix=/usr/local install -j $(nproc) cd ~ sudo rm -rf git-${VERSION} sudo rm v${VERSION}.zip diff --git a/scripts/go.sh b/scripts/go.sh index 194947f..95928ed 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="1.18.1" +VERSION="1.19" function install () { echo "installing go" diff --git a/scripts/julia.sh b/scripts/julia.sh index b08071b..31bdbf4 100755 --- a/scripts/julia.sh +++ b/scripts/julia.sh @@ -1,7 +1,7 @@ #!/usr/bin/env bash -MINOR="1.7" -VERSION="1.7.2" +MINOR="1.8" +VERSION="1.8.0" function install () { echo "installing julia" diff --git a/scripts/lolcode.sh b/scripts/lolcode.sh index 2aa82dd..ca80725 100755 --- a/scripts/lolcode.sh +++ b/scripts/lolcode.sh @@ -5,8 +5,8 @@ function install () { git clone https://github.com/justinmeza/lci.git cd lci cmake . - sudo make - sudo make install + sudo make -j $(nproc) + sudo make install -j $(nproc) cd ~ sudo rm -rf lci } diff --git a/scripts/lua.sh b/scripts/lua.sh index 4eed210..8cd5454 100755 --- a/scripts/lua.sh +++ b/scripts/lua.sh @@ -1,14 +1,14 @@ #!/usr/bin/env bash -VERSION="5.4.3" +VERSION="5.4.4" function install () { cd ~ wget https://www.lua.org/ftp/lua-${VERSION}.tar.gz sudo tar zxf lua-${VERSION}.tar.gz cd lua-${VERSION} - sudo make - sudo make install + sudo make -j $(nproc) + sudo make install -j $(nproc) cd ~ sudo rm -rf lua-${VERSION} sudo rm lua-${VERSION}.tar.gz diff --git a/scripts/python.sh b/scripts/python.sh index 9b2aa4f..cdfc41d 100755 --- a/scripts/python.sh +++ b/scripts/python.sh @@ -1,6 +1,6 @@ #!/usr/bin/env bash -VERSION="3.10.2" +VERSION="3.10.6" function install () { cd ~ @@ -12,8 +12,8 @@ function install () { --enable-shared \ --enable-ipv6 \ LDFLAGS=-Wl,-rpath=/opt/python/${VERSION}/lib,--disable-new-dtags - make - sudo make install + make -j $(nproc) + sudo make install -j $(nproc) cd ~ curl -O https://bootstrap.pypa.io/get-pip.py diff --git a/scripts/swift.sh b/scripts/swift.sh index e03abdb..52b4f86 100755 --- a/scripts/swift.sh +++ b/scripts/swift.sh @@ -1,10 +1,10 @@ #!/usr/bin/env bash -VERSION="5.5.2" +VERSION="5.6.2" function install () { cd ~ - wget https://download.swift.org/swift-${VERSION}-release/ubuntu2004/swift-5.5.2-RELEASE/swift-5.5.2-RELEASE-ubuntu20.04.tar.gz + wget https://download.swift.org/swift-${VERSION}-release/ubuntu2004/swift-${VERSION}-RELEASE/swift-${VERSION}-RELEASE-ubuntu20.04.tar.gz tar -xvzf swift-${VERSION}-RELEASE-ubuntu20.04.tar.gz sudo mv -v swift-${VERSION}-RELEASE-ubuntu20.04 /opt/swift wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -