mirror of https://github.com/aldy505/dotfiles.git
some updates
This commit is contained in:
parent
c94c608b6f
commit
979307f9a4
18
bash/.bashrc
18
bash/.bashrc
|
@ -122,7 +122,8 @@ fi
|
||||||
# fnm
|
# fnm
|
||||||
PATH=$DOTFILES_PATH/bin:$ME/.local/bin:$ME/.local/kitty.app/bin/kitty:$PATH
|
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
|
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 "`fnm env`"
|
||||||
eval "$(rbenv init - bash)"
|
eval "$(rbenv init - bash)"
|
||||||
|
|
||||||
|
@ -143,9 +144,22 @@ export GPG_AGENT_INFO=${HOME}/.gnupg/S.gpg-agent:0:1
|
||||||
|
|
||||||
export EDITOR="micro"
|
export EDITOR="micro"
|
||||||
export COLORTERM="truecolor"
|
export COLORTERM="truecolor"
|
||||||
export JAVA_HOME=/usr/lib/jvm/java-17-openjdk-amd64
|
|
||||||
eval "$(starship init bash)"
|
eval "$(starship init bash)"
|
||||||
|
|
||||||
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
|
#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"
|
[[ -s "/home/reinaldy/.sdkman/bin/sdkman-init.sh" ]] && source "/home/reinaldy/.sdkman/bin/sdkman-init.sh"
|
||||||
. "$HOME/.cargo/env"
|
. "$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
|
||||||
|
|
|
@ -27,9 +27,7 @@ if [ -d "$HOME/.local/bin" ] ; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
export GOPATH=$HOME/go
|
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
|
# :/usr/local/pypy3.7-v7.3.5-linux64/bin
|
||||||
|
|
||||||
. "$HOME/.cargo/env"
|
. "$HOME/.cargo/env"
|
||||||
|
|
||||||
export PATH="$HOME/.poetry/bin:$PATH"
|
|
||||||
|
|
|
@ -18,8 +18,8 @@
|
||||||
path = ~/repository/.gitconfig
|
path = ~/repository/.gitconfig
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
signingkey = 748A8EC5DB8653E8
|
signingkey = EA1B2522C1693EC8
|
||||||
email = aldy505@tutanota.com
|
email = aldy505@proton.me
|
||||||
name = Reinaldy Rafli
|
name = Reinaldy Rafli
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION="2.35.2"
|
VERSION="2.37.2"
|
||||||
|
|
||||||
function install () {
|
function install () {
|
||||||
cd ~
|
cd ~
|
||||||
wget https://github.com/git/git/archive/refs/tags/v${VERSION}.zip
|
wget https://github.com/git/git/archive/refs/tags/v${VERSION}.zip
|
||||||
sudo unzip v${VERSION}.zip
|
sudo unzip v${VERSION}.zip
|
||||||
cd git-${VERSION}
|
cd git-${VERSION}
|
||||||
sudo make prefix=/usr/local all
|
sudo make prefix=/usr/local all -j $(nproc)
|
||||||
sudo make prefix=/usr/local install
|
sudo make prefix=/usr/local install -j $(nproc)
|
||||||
cd ~
|
cd ~
|
||||||
sudo rm -rf git-${VERSION}
|
sudo rm -rf git-${VERSION}
|
||||||
sudo rm v${VERSION}.zip
|
sudo rm v${VERSION}.zip
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION="1.18.1"
|
VERSION="1.19"
|
||||||
|
|
||||||
function install () {
|
function install () {
|
||||||
echo "installing go"
|
echo "installing go"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
MINOR="1.7"
|
MINOR="1.8"
|
||||||
VERSION="1.7.2"
|
VERSION="1.8.0"
|
||||||
|
|
||||||
function install () {
|
function install () {
|
||||||
echo "installing julia"
|
echo "installing julia"
|
||||||
|
|
|
@ -5,8 +5,8 @@ function install () {
|
||||||
git clone https://github.com/justinmeza/lci.git
|
git clone https://github.com/justinmeza/lci.git
|
||||||
cd lci
|
cd lci
|
||||||
cmake .
|
cmake .
|
||||||
sudo make
|
sudo make -j $(nproc)
|
||||||
sudo make install
|
sudo make install -j $(nproc)
|
||||||
cd ~
|
cd ~
|
||||||
sudo rm -rf lci
|
sudo rm -rf lci
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,14 +1,14 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION="5.4.3"
|
VERSION="5.4.4"
|
||||||
|
|
||||||
function install () {
|
function install () {
|
||||||
cd ~
|
cd ~
|
||||||
wget https://www.lua.org/ftp/lua-${VERSION}.tar.gz
|
wget https://www.lua.org/ftp/lua-${VERSION}.tar.gz
|
||||||
sudo tar zxf lua-${VERSION}.tar.gz
|
sudo tar zxf lua-${VERSION}.tar.gz
|
||||||
cd lua-${VERSION}
|
cd lua-${VERSION}
|
||||||
sudo make
|
sudo make -j $(nproc)
|
||||||
sudo make install
|
sudo make install -j $(nproc)
|
||||||
cd ~
|
cd ~
|
||||||
sudo rm -rf lua-${VERSION}
|
sudo rm -rf lua-${VERSION}
|
||||||
sudo rm lua-${VERSION}.tar.gz
|
sudo rm lua-${VERSION}.tar.gz
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION="3.10.2"
|
VERSION="3.10.6"
|
||||||
|
|
||||||
function install () {
|
function install () {
|
||||||
cd ~
|
cd ~
|
||||||
|
@ -12,8 +12,8 @@ function install () {
|
||||||
--enable-shared \
|
--enable-shared \
|
||||||
--enable-ipv6 \
|
--enable-ipv6 \
|
||||||
LDFLAGS=-Wl,-rpath=/opt/python/${VERSION}/lib,--disable-new-dtags
|
LDFLAGS=-Wl,-rpath=/opt/python/${VERSION}/lib,--disable-new-dtags
|
||||||
make
|
make -j $(nproc)
|
||||||
sudo make install
|
sudo make install -j $(nproc)
|
||||||
|
|
||||||
cd ~
|
cd ~
|
||||||
curl -O https://bootstrap.pypa.io/get-pip.py
|
curl -O https://bootstrap.pypa.io/get-pip.py
|
||||||
|
|
|
@ -1,10 +1,10 @@
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
VERSION="5.5.2"
|
VERSION="5.6.2"
|
||||||
|
|
||||||
function install () {
|
function install () {
|
||||||
cd ~
|
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
|
tar -xvzf swift-${VERSION}-RELEASE-ubuntu20.04.tar.gz
|
||||||
sudo mv -v swift-${VERSION}-RELEASE-ubuntu20.04 /opt/swift
|
sudo mv -v swift-${VERSION}-RELEASE-ubuntu20.04 /opt/swift
|
||||||
wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
|
wget -q -O - https://swift.org/keys/all-keys.asc | sudo gpg --import -
|
||||||
|
|
Loading…
Reference in New Issue