From c7543de2b0a020c8744a4a4b9a051cf4ccaa8371 Mon Sep 17 00:00:00 2001 From: Andrew Tomaka Date: Fri, 6 Jan 2023 09:11:37 -0500 Subject: [PATCH] Additional installs for work --- install.sh | 5 +++-- zsh/.config/zsh/.zshrc | 5 +++++ zsh/.zshenv | 2 ++ 3 files changed, 10 insertions(+), 2 deletions(-) diff --git a/install.sh b/install.sh index fddef31..62d51de 100755 --- a/install.sh +++ b/install.sh @@ -16,7 +16,8 @@ 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 \ - awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp + awscli cmake jq watch gh nvim openssl@1.1 openssl@3 readline libyaml gmp \ + pyenv install_fzf install_rust @@ -135,7 +136,7 @@ install_darwin() { # gui brew install --cask docker rectangle slack google-chrome alacritty telegram \ - discord element brave-browser + discord element brave-browser zoom notion install_tmux_terminfo } diff --git a/zsh/.config/zsh/.zshrc b/zsh/.config/zsh/.zshrc index 06633a3..168246d 100644 --- a/zsh/.config/zsh/.zshrc +++ b/zsh/.config/zsh/.zshrc @@ -34,6 +34,11 @@ if which nodenv > /dev/null; then (nodenv rehash &) 2> /dev/null fi +if which pyenv > /dev/null; then + eval "$(pyenv init --no-rehash -)" + (pyenv rehash &) 2> /dev/null +fi + autoload compinit -Uz setopt EXTENDEDGLOB if [[ -n ${ZDOTDIR}/.zcompdump(#qN.m+1) ]]; then diff --git a/zsh/.zshenv b/zsh/.zshenv index cc4e1a3..3407918 100644 --- a/zsh/.zshenv +++ b/zsh/.zshenv @@ -8,6 +8,7 @@ PERSONAL_FPATH="$ZDOTDIR/completions" NODENV_PATH="$HOME/.nodenv/bin" RBENV_PATH="$HOME/.rbenv/bin" TFENV_PATH="$HOME/.tfenv/bin" +PYENV_PATH="$HOME/.pyenv/bin" CARGO_PATH="$HOME/.cargo/bin" @@ -45,6 +46,7 @@ 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" [[ -d "$CARGO_PATH" ]] && PATH="$CARGO_PATH:$PATH" [[ -d "$PERSONAL_BIN_PATH" ]] && PATH="$PERSONAL_BIN_PATH:$PATH" [[ -d "$PERSONAL_FPATH" ]] && FPATH="$PERSONAL_FPATH:$FPATH"