major movement

This commit is contained in:
Reinaldy Rafli 2022-01-15 19:12:24 +07:00
parent 6f1a65c9b3
commit 7a1156aa2b
No known key found for this signature in database
GPG Key ID: 748A8EC5DB8653E8
22 changed files with 38 additions and 15 deletions

0
README.md Normal file → Executable file
View File

0
bash/.bash_logout Normal file → Executable file
View File

8
bash/.bashrc Normal file → Executable file
View File

@ -123,8 +123,8 @@ fi
# fnm # fnm
PATH=$DOTFILES_PATH/bin:$ME/.local/kitty.app/bin/kitty:$PATH PATH=$DOTFILES_PATH/bin:$ME/.local/kitty.app/bin/kitty:$PATH
PATH=/usr/lib/jvm/java-11-openjdk-amd64/bin:/opt/bin:$ME/.fly/bin:$ME/go/bin:$PATH PATH=$ME/.poetry/bin:/usr/lib/jvm/java-11-openjdk-amd64/bin:/opt/bin:$ME/.fly/bin:$ME/go/bin:$PATH
export PATH=$ME/.fnm:/opt/julia/bin:/opt/janet/bin:/opt/python/3.9.6/bin:/opt:/opt/zig:$PATH export PATH=$ME/.fnm:/opt/julia/bin:/opt/swift/usr/bin:/opt/janet/bin:/opt/python/3.10.1/bin:/opt:/opt/zig:$PATH
eval "`fnm env`" eval "`fnm env`"
export LIBGL_ALWAYS_INDIRECT=1 export LIBGL_ALWAYS_INDIRECT=1
@ -151,6 +151,4 @@ 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!!!
export SDKMAN_DIR="$HOME/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh" [[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
export DOTFILES_PATH=/home/reinaldy/.dotfiles
BUN_INSTALL="/home/reinaldy/.bun"
PATH="$BUN_INSTALL/bin:$PATH"

2
bash/.profile Normal file → Executable file
View File

@ -31,3 +31,5 @@ export PATH=/usr/local/go/bin:$GOPATH/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"

0
debian.png Normal file → Executable file
View File

Before

Width:  |  Height:  |  Size: 174 KiB

After

Width:  |  Height:  |  Size: 174 KiB

0
git/.czrc Normal file → Executable file
View File

2
git/.gitconfig Normal file → Executable file
View File

@ -17,3 +17,5 @@
[includeIf "gitdir:~/.dotfiles/"] [includeIf "gitdir:~/.dotfiles/"]
path = ~/repository/.gitconfig path = ~/repository/.gitconfig
[user]
signingkey = 748A8EC5DB8653E8

3
gnupg/gpg-agent.conf Normal file
View File

@ -0,0 +1,3 @@
default-cache-ttl 28800
pinentry-program /usr/bin/pinentry-curses
allow-loopback-pinentry

2
go/env Normal file → Executable file
View File

@ -1 +1,3 @@
GO111MODULE=on
GOPRIVATE=repository.klgsys.com
GOPROXY=https://goproxy.io,direct GOPROXY=https://goproxy.io,direct

BIN
me.jpg

Binary file not shown.

Before

Width:  |  Height:  |  Size: 364 KiB

0
micro/bindings.json Normal file → Executable file
View File

0
micro/colorschemes/light-owl.micro Normal file → Executable file
View File

0
micro/colorschemes/night-owl.micro Normal file → Executable file
View File

0
micro/settings.json Normal file → Executable file
View File

0
neofetch/config.conf Normal file → Executable file
View File

0
nvim/init.vim Normal file → Executable file
View File

View File

@ -1,18 +1,16 @@
#!/usr/bin/env bash #!/usr/bin/env bash
VERSION="1.17.5" 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://go.dev/dl/go${VERSION}.linux-amd64.tar.gz
echo "bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e" > go${VERSION}.linux-amd64.tar.gz.sha256 echo "231654bbf2dab3d86c1619ce799e77b03d96f9b50770297c8f4dff8836fc8ca2" > go${VERSION}.linux-amd64.tar.gz.sha256
sha256sum -c go${VERSION}.linux-amd64.tar.gz.sha256 # sha256sum -c go${VERSION}.linux-amd64.tar.gz.sha256
sudo rm -rf /usr/local/go sudo tar -C ${HOME}/go -xzf go${VERSION}.linux-amd64.tar.gz
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
sudo rm go${VERSION}.linux-amd64.tar.gz.sha256 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"

13
scripts/swift.sh Normal file
View File

@ -0,0 +1,13 @@
#!/usr/bin/env bash
VERSION="5.5.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
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 -
printf "\n\n"
swift --version
}

0
setup_arch.sh Normal file → Executable file
View File

View File

@ -24,6 +24,7 @@ function set_symlink () {
sudo ln -s ${DOTFILES_PATH}/git/.gitconfig $HOME/.gitconfig sudo ln -s ${DOTFILES_PATH}/git/.gitconfig $HOME/.gitconfig
sudo rm $HOME/.czcrc sudo rm $HOME/.czcrc
sudo ln -s ${DOTFILES_PATH}/git/.czrc $HOME/.czrc sudo ln -s ${DOTFILES_PATH}/git/.czrc $HOME/.czrc
sudo ln -s ${DOTFILES_PATH}/gnupg/gpg-agent.conf $HOME/.gnupg/gpg-agent.conf
} }
sudo chmod -R 755 ./scripts sudo chmod -R 755 ./scripts
@ -32,14 +33,14 @@ sudo mkdir /opt/bin
if [[ $(cat /etc/issue) = *"Ubuntu"* ]]; then if [[ $(cat /etc/issue) = *"Ubuntu"* ]]; then
sudo apt update sudo apt update
sudo apt upgrade sudo apt upgrade -y
sudo add-apt-repository ppa:git-core/ppa sudo add-apt-repository ppa:git-core/ppa
sudo apt update sudo apt update
sudo apt install -y curl wget openssl tar unzip git rlwrap ssh editorconfig gpg build-essential libffi-dev libgdbm-dev libsqlite3-dev libssl-dev zlib1g-dev sudo apt install -y curl wget openssl tar unzip git rlwrap ssh editorconfig gpg build-essential libffi-dev libgdbm-dev libsqlite3-dev libssl-dev zlib1g-dev
set_symlink set_symlink
elif [[ $(cat /etc/issue) = *"Debian"* ]]; then elif [[ $(cat /etc/issue) = *"Debian"* ]]; then
sudo apt-get update sudo apt-get update
sudo apt-get upgrade sudo apt-get upgrade -y
sudo apt-get install -y curl wget openssl tar unzip rlwrap ssh editorconfig gpg build-essential libffi-dev libgdbm-dev libsqlite3-dev libssl-dev zlib1g-dev sudo apt-get install -y curl wget openssl tar unzip rlwrap ssh editorconfig gpg build-essential libffi-dev libgdbm-dev libsqlite3-dev libssl-dev zlib1g-dev
sudo apt-get install -y libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext sudo apt-get install -y libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext
./scripts/git.sh install ./scripts/git.sh install
@ -58,8 +59,12 @@ fi
./scripts/rust.sh install ./scripts/rust.sh install
./scripts/java.sh install_alt #./scripts/java.sh install_alt
./scripts/micro.sh install ./scripts/micro.sh install
./scripts/utils.sh install ./scripts/utils.sh install
sh -c "$(curl -fsSL https://starship.rs/install.sh)"
printf "\n\nCompleted\!\nNow do:\n source ~/.bashrc\n\n"

0
starship/starship.toml Normal file → Executable file
View File

0
vscode/settings.json Normal file → Executable file
View File