mirror of https://github.com/aldy505/dotfiles.git
major movement
This commit is contained in:
parent
6f1a65c9b3
commit
7a1156aa2b
|
@ -123,8 +123,8 @@ fi
|
|||
|
||||
# fnm
|
||||
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
|
||||
export PATH=$ME/.fnm:/opt/julia/bin:/opt/janet/bin:/opt/python/3.9.6/bin:/opt:/opt/zig:$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/swift/usr/bin:/opt/janet/bin:/opt/python/3.10.1/bin:/opt:/opt/zig:$PATH
|
||||
eval "`fnm env`"
|
||||
|
||||
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!!!
|
||||
export SDKMAN_DIR="$HOME/.sdkman"
|
||||
[[ -s "$HOME/.sdkman/bin/sdkman-init.sh" ]] && source "$HOME/.sdkman/bin/sdkman-init.sh"
|
||||
|
||||
BUN_INSTALL="/home/reinaldy/.bun"
|
||||
PATH="$BUN_INSTALL/bin:$PATH"
|
||||
export DOTFILES_PATH=/home/reinaldy/.dotfiles
|
||||
|
|
|
@ -31,3 +31,5 @@ export PATH=/usr/local/go/bin:$GOPATH/bin:$PATH
|
|||
# :/usr/local/pypy3.7-v7.3.5-linux64/bin
|
||||
|
||||
. "$HOME/.cargo/env"
|
||||
|
||||
export PATH="$HOME/.poetry/bin:$PATH"
|
||||
|
|
Before Width: | Height: | Size: 174 KiB After Width: | Height: | Size: 174 KiB |
|
@ -17,3 +17,5 @@
|
|||
[includeIf "gitdir:~/.dotfiles/"]
|
||||
path = ~/repository/.gitconfig
|
||||
|
||||
[user]
|
||||
signingkey = 748A8EC5DB8653E8
|
||||
|
|
|
@ -0,0 +1,3 @@
|
|||
default-cache-ttl 28800
|
||||
pinentry-program /usr/bin/pinentry-curses
|
||||
allow-loopback-pinentry
|
|
@ -1 +1,3 @@
|
|||
GO111MODULE=on
|
||||
GOPRIVATE=repository.klgsys.com
|
||||
GOPROXY=https://goproxy.io,direct
|
||||
|
|
|
@ -1,18 +1,16 @@
|
|||
#!/usr/bin/env bash
|
||||
|
||||
VERSION="1.17.5"
|
||||
VERSION="1.17.6"
|
||||
|
||||
function install () {
|
||||
echo "installing go"
|
||||
cd ~
|
||||
wget https://go.dev/dl/go${VERSION}.linux-amd64.tar.gz
|
||||
echo "bd78114b0d441b029c8fe0341f4910370925a4d270a6a590668840675b0c653e" > 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 /usr/local -xzf 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
|
||||
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"
|
||||
|
|
|
@ -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
|
||||
}
|
13
setup_deb.sh
13
setup_deb.sh
|
@ -24,6 +24,7 @@ function set_symlink () {
|
|||
sudo ln -s ${DOTFILES_PATH}/git/.gitconfig $HOME/.gitconfig
|
||||
sudo rm $HOME/.czcrc
|
||||
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
|
||||
|
@ -32,14 +33,14 @@ sudo mkdir /opt/bin
|
|||
|
||||
if [[ $(cat /etc/issue) = *"Ubuntu"* ]]; then
|
||||
sudo apt update
|
||||
sudo apt upgrade
|
||||
sudo apt upgrade -y
|
||||
sudo add-apt-repository ppa:git-core/ppa
|
||||
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
|
||||
set_symlink
|
||||
elif [[ $(cat /etc/issue) = *"Debian"* ]]; then
|
||||
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 libssl-dev libghc-zlib-dev libcurl4-gnutls-dev libexpat1-dev gettext
|
||||
./scripts/git.sh install
|
||||
|
@ -55,11 +56,15 @@ fi
|
|||
./scripts/go.sh install
|
||||
|
||||
./scripts/julia.sh install
|
||||
|
||||
|
||||
./scripts/rust.sh install
|
||||
|
||||
./scripts/java.sh install_alt
|
||||
#./scripts/java.sh install_alt
|
||||
|
||||
./scripts/micro.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"
|
Loading…
Reference in New Issue