diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/bash/.bash_logout b/bash/.bash_logout old mode 100644 new mode 100755 diff --git a/bash/.bashrc b/bash/.bashrc old mode 100644 new mode 100755 index cdf2fad..060e9c0 --- a/bash/.bashrc +++ b/bash/.bashrc @@ -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 diff --git a/bash/.profile b/bash/.profile old mode 100644 new mode 100755 index 1835d43..c282a42 --- a/bash/.profile +++ b/bash/.profile @@ -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" diff --git a/debian.png b/debian.png old mode 100644 new mode 100755 diff --git a/git/.czrc b/git/.czrc old mode 100644 new mode 100755 diff --git a/git/.gitconfig b/git/.gitconfig old mode 100644 new mode 100755 index 05c777a..1b50cc6 --- a/git/.gitconfig +++ b/git/.gitconfig @@ -17,3 +17,5 @@ [includeIf "gitdir:~/.dotfiles/"] path = ~/repository/.gitconfig +[user] + signingkey = 748A8EC5DB8653E8 diff --git a/gnupg/gpg-agent.conf b/gnupg/gpg-agent.conf new file mode 100644 index 0000000..59d4fa3 --- /dev/null +++ b/gnupg/gpg-agent.conf @@ -0,0 +1,3 @@ +default-cache-ttl 28800 +pinentry-program /usr/bin/pinentry-curses +allow-loopback-pinentry diff --git a/go/env b/go/env old mode 100644 new mode 100755 index 118e534..9c5b51c --- a/go/env +++ b/go/env @@ -1 +1,3 @@ +GO111MODULE=on +GOPRIVATE=repository.klgsys.com GOPROXY=https://goproxy.io,direct diff --git a/me.jpg b/me.jpg deleted file mode 100644 index 34df47f..0000000 Binary files a/me.jpg and /dev/null differ diff --git a/micro/bindings.json b/micro/bindings.json old mode 100644 new mode 100755 diff --git a/micro/colorschemes/light-owl.micro b/micro/colorschemes/light-owl.micro old mode 100644 new mode 100755 diff --git a/micro/colorschemes/night-owl.micro b/micro/colorschemes/night-owl.micro old mode 100644 new mode 100755 diff --git a/micro/settings.json b/micro/settings.json old mode 100644 new mode 100755 diff --git a/neofetch/config.conf b/neofetch/config.conf old mode 100644 new mode 100755 diff --git a/nvim/init.vim b/nvim/init.vim old mode 100644 new mode 100755 diff --git a/scripts/go.sh b/scripts/go.sh index 61765ac..d6dd6c6 100755 --- a/scripts/go.sh +++ b/scripts/go.sh @@ -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" diff --git a/scripts/swift.sh b/scripts/swift.sh new file mode 100644 index 0000000..e03abdb --- /dev/null +++ b/scripts/swift.sh @@ -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 +} \ No newline at end of file diff --git a/setup_arch.sh b/setup_arch.sh old mode 100644 new mode 100755 diff --git a/setup_deb.sh b/setup_deb.sh index 619b7f6..001cb65 100755 --- a/setup_deb.sh +++ b/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" \ No newline at end of file diff --git a/starship/starship.toml b/starship/starship.toml old mode 100644 new mode 100755 diff --git a/vscode/settings.json b/vscode/settings.json old mode 100644 new mode 100755