Swap in RTX #1

Merged
atomaka merged 5 commits from rtx into master 2023-11-10 20:57:05 -05:00
4 changed files with 11 additions and 7 deletions
Showing only changes of commit 38a06a550b - Show all commits

View file

@ -15,7 +15,7 @@ install_homebrew() {
install_shared_applications() {
brew install direnv fzf git stow the_silver_searcher tmux \
vim zsh rbenv ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
vim zsh chruby ruby-build tfenv nodenv node-build tig libpq gnupg llvm \
awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp \
pyenv ripgrep

View file

@ -28,10 +28,8 @@ if which direnv > /dev/null; then
eval "$(direnv hook zsh)"
fi
if which rbenv > /dev/null; then
eval "$(rbenv init --no-rehash -)"
(rbenv rehash &) 2> /dev/null
fi
source /home/linuxbrew/.linuxbrew/opt/chruby/share/chruby/chruby.sh
source /home/linuxbrew/.linuxbrew/opt/chruby/share/chruby/auto.sh
if which nodenv > /dev/null; then
eval "$(nodenv init --no-rehash -)"

View file

@ -80,6 +80,14 @@ function git-root {
fi
}
function install-ruby {
if [ $# -eq 0 ]; then
echo Usage: install-ruby RUBY_VERSION
else
ruby-build $1 $HOME/.rubies/$1
fi
}
function password-generator {
if [ -x "$(command -v openssl)" ]; then
password=$(

View file

@ -8,7 +8,6 @@ PERSONAL_BIN_PATH="$HOME/bin"
PERSONAL_FPATH="$ZDOTDIR/completions"
NODENV_PATH="$HOME/.nodenv/bin"
RBENV_PATH="$HOME/.rbenv/bin"
TFENV_PATH="$HOME/.tfenv/bin"
PYENV_PATH="$HOME/.pyenv/bin"
@ -45,7 +44,6 @@ elif [[ "$OSTYPE" == linux* ]]; then
INFOPATH="/home/linuxbrew/.linuxbrew/share/info:${INFOPATH:-}";
fi
[[ -d "$RBENV_PATH" ]] && PATH="$RBENV_PATH:$PATH"
[[ -d "$NODENV_PATH" ]] && PATH="$NODENV_PATH:$PATH"
[[ -d "$TFENV_PATH" ]] && PATH="$TFENV_PATH:$PATH"
[[ -d "$PYENV_PATH" ]] && PATH="$PYENV_PATH:$PATH"