Pull in laptop .zshrc config, merge, add brew plugin

This commit is contained in:
2024-01-12 13:27:57 -06:00
parent 3b89c793f1
commit fb6d165000

View File

@@ -77,51 +77,58 @@ ZSH_THEME="powerlevel10k/powerlevel10k"
# Custom plugins may be added to $ZSH_CUSTOM/plugins/ # Custom plugins may be added to $ZSH_CUSTOM/plugins/
# Example format: plugins=(rails git textmate ruby lighthouse) # Example format: plugins=(rails git textmate ruby lighthouse)
# Add wisely, as too many plugins slow down shell startup. # Add wisely, as too many plugins slow down shell startup.
plugins=(git yarn sudo zoxide nvm node npm zsh-autosuggestions F-Sy-H) plugins=(git yarn sudo zoxide nvm node npm zsh-autosuggestions brew F-Sy-H)
source $ZSH/oh-my-zsh.sh source $ZSH/oh-my-zsh.sh
# User configuration # User configuration
if [ -f ~/.bash_aliases ]; then
. ~/.bash_aliases
fi
# bob / neovim package manager
export PATH="$HOME/.local/share/bob/nvim-bin:$PATH"
# export MANPATH="/usr/local/man:$MANPATH"
# You may need to manually set your language environment # You may need to manually set your language environment
# export LANG=en_US.UTF-8 # export LANG=en_US.UTF-8
# Preferred editor for local and remote sessions # Preferred editor for local and remote sessions
# if [[ -n $SSH_CONNECTION ]]; then if [[ -n $SSH_CONNECTION ]]; then
# export EDITOR='vim' export EDITOR='micro'
# else else
# export EDITOR='mvim' export EDITOR='nvim'
# fi fi
# Compilation flags
# export ARCHFLAGS="-arch x86_64"
# Set personal aliases, overriding those provided by oh-my-zsh libs, # Set personal aliases, overriding those provided by oh-my-zsh libs,
# plugins, and themes. Aliases can be placed here, though oh-my-zsh # plugins, and themes. Aliases can be placed here, though oh-my-zsh
# users are encouraged to define aliases within the ZSH_CUSTOM folder. # users are encouraged to define aliases within the ZSH_CUSTOM folder.
# For a full list of active aliases, run `alias`. # For a full list of active aliases, run `alias`.
# if [ -f ~/.bash_aliases ]; then
# Example aliases . ~/.bash_aliases
# alias zshconfig="mate ~/.zshrc" fi
# alias ohmyzsh="mate ~/.oh-my-zsh"
# To customize prompt, run `p10k configure` or edit ~/.p10k.zsh. # To customize prompt, run `p10k configure` or edit ~/.p10k.zsh.
[[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh [[ ! -f ~/.p10k.zsh ]] || source ~/.p10k.zsh
eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
export NVM_DIR="$HOME/.nvm" export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm [ -s "$NVM_DIR/nvm.sh" ] && \. "$NVM_DIR/nvm.sh" # This loads nvm
[ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion [ -s "$NVM_DIR/bash_completion" ] && \. "$NVM_DIR/bash_completion" # This loads nvm bash_completion
export GPG_TTY=$(tty)
export MICRO_TRUECOLOR=1
# rbenv (ruby)
eval "$(rbenv init -)"
# brew (obsolete by brew plugin)
# eval "$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)"
# bun
export BUN_INSTALL="$HOME/.bun"
export PATH="$BUN_INSTALL/bin:$PATH"
# bun completions
[ -s "/home/xevion/.bun/_bun" ] && source "/home/xevion/.bun/_bun"
export PATH=$PATH:/usr/local/go/bin export PATH=$PATH:/usr/local/go/bin
export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop export TERM=xterm-256color # fixes terminal colors when ssh'ing into laptop
# bob / neovim package manager
export PATH="$HOME/.local/share/bob/nvim-bin:$PATH"
# java version manager
export PATH="$HOME/.jenv/bin:$PATH"
eval "$(jenv init -)"