Update dotfiles/.profile, dotfiles/.config/asdf/default-golang-pkgs, dotfiles/.config/asdf/default-python-pkgs, dotfiles/.config/asdf/default-ruby-pkgs, dotfiles/.config/asdf/default-cargo-pkgs, dotfiles/.config/asdf/asdfrc, dotfiles/.bashrc, dotfiles/.zshrc

This commit is contained in:
Brian Zalewski 2022-10-29 06:00:20 +00:00
parent 30431637c3
commit 01cd9f284f
8 changed files with 43 additions and 3 deletions

View file

@ -237,6 +237,11 @@ if [ "$0" = 'bash' ] || [ "$0" = '/bin/bash' ]; then
fi fi
fi fi
### Java (asdf)
if [ -f "$HOME/.asdf/plugins/java/set-java-home.bash" ]; then
. "$HOME/.asdf/plugins/java/set-java-home.bash"
fi
### zoxide ### zoxide
command -v zoxide >/dev/null && eval "$(zoxide init bash)" command -v zoxide >/dev/null && eval "$(zoxide init bash)"

View file

@ -0,0 +1,8 @@
# See the docs for explanations: https://asdf-vm.com/manage/configuration.html
legacy_version_file = no
use_release_candidates = no
always_keep_download = no
plugin_repository_last_check_duration = 60
disable_plugin_short_name_repository = no
java_macos_integration_enable = yes

View file

@ -0,0 +1,2 @@
ripgrep
--git https://github.com/sharkdp/bat

View file

@ -0,0 +1,8 @@
github.com/uudashr/gopkgs/v2/cmd/gopkgs@latest
github.com/ramya-rao-a/go-outline@latest
github.com/cweill/gotests/...@latest
github.com/fatih/gomodifytags@latest
github.com/josharian/impl@latest
github.com/go-delve/delve/cmd/dlv@latest
golang.org/x/tools/gopls@latest
honnef.co/go/tools/cmd/staticcheck@latest

View file

@ -0,0 +1 @@
pytest

View file

@ -0,0 +1 @@
bundler

View file

@ -273,15 +273,25 @@ if [ -e /home/linuxbrew/.linuxbrew/bin/brew ]; then
export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}" export INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}"
fi fi
if command -v brew >/dev/null; then
### Go ### Go
export GOPATH="${HOME}/.local/go" export GOPATH="${HOME}/.local/go"
export GO111MODULE=on
export PATH="$PATH:${GOPATH}/bin"
if command -v brew >/dev/null; then
### Go
GOROOT="$(brew --prefix golang)/libexec" GOROOT="$(brew --prefix golang)/libexec"
export GOROOT export GOROOT
export GO111MODULE=on export PATH="$PATH:${GOROOT}/bin"
export PATH="$PATH:${GOPATH}/bin:${GOROOT}/bin"
### ASDF ### ASDF
export ASDF_CONFIG_FILE="$HOME/.config/asdf/asdfrc"
export ASDF_DIR="$HOME/.local/asdf"
export ASDF_DATA_DIR="$HOME/.local/asdf"
export ASDF_CRATE_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-cargo-pkgs
export ASDF_GEM_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-ruby-pkgs
export ASDF_GOLANG_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-golang-pkgs
export ASDF_PYTHON_DEFAULT_PACKAGES_FILE="$HOME/.config/asdf/default-python-pkgs
if [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then if [ -f "$(brew --prefix asdf)/libexec/asdf.sh" ]; then
. "$(brew --prefix asdf)/libexec/asdf.sh" . "$(brew --prefix asdf)/libexec/asdf.sh"
fi fi

View file

@ -352,6 +352,11 @@ if command -v brew > /dev/null; then
[[ ! -f "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" ]] || source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" [[ ! -f "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc" ]] || source "$(brew --prefix)/Caskroom/google-cloud-sdk/latest/google-cloud-sdk/completion.zsh.inc"
fi fi
### Java (asdf)
if [ -f "$HOME/.asdf/plugins/java/set-java-home.zsh" ]; then
. "$HOME/.asdf/plugins/java/set-java-home.zsh"
fi
## TODO: What is this line? ## TODO: What is this line?
fpath+=~/.zfunc fpath+=~/.zfunc