ZSH stuff

This commit is contained in:
Anthony Cicchetti 2020-05-22 16:03:05 -04:00
parent 7325a98b69
commit 1ad325601e

View file

@ -7,6 +7,8 @@ bindkey -v
export RPROMPT=' ' # Fixes a side-effect of the vi-mode oh-my-zsh plugin export RPROMPT=' ' # Fixes a side-effect of the vi-mode oh-my-zsh plugin
export KEYTIMEOUT=1 export KEYTIMEOUT=1
typset -U path
fpath=(~/bin ~/.zshcompletions $fpath) fpath=(~/bin ~/.zshcompletions $fpath)
zstyle :compinstall filename '/home/anthonys/.zshrc' zstyle :compinstall filename '/home/anthonys/.zshrc'
zstyle ":completion:*" complete _complete _ignored _approximate _expand zstyle ":completion:*" complete _complete _ignored _approximate _expand
@ -31,14 +33,14 @@ compinit
export COMPLETION_WAITING_DOTS="true" export COMPLETION_WAITING_DOTS="true"
export VISUAL='nvim' export VISUAL='nvim'
export EDITOR='nvim' export EDITOR='nvim'
export PATH=$HOME/bin:$PATH path=("$HOME/bin" $path)
source <(antibody init) source <(antibody init)
antibody bundle < ~/.zsh_plugins.txt antibody bundle < ~/.zsh_plugins.txt
if [[ -d ~/.cargo/bin ]]; then if [[ -d ~/.cargo/bin ]]; then
export PATH="$HOME/.cargo/bin:$PATH" path=($HOME/.cargo/bin $path)
fi fi
if [[ $(whence -p starship 2> /dev/null) ]]; then if [[ $(whence -p starship 2> /dev/null) ]]; then
@ -80,10 +82,9 @@ function nv() {
nvr -s $@ nvr -s $@
} }
export PATH="$PATH:$HOME/.anyenv/bin" path+=($HOME/.anyenv/bin)
eval "$(anyenv init -)" eval "$(anyenv init -)"
export PATH="$(yarn global bin):$PATH" export PATH
# export SKIM_TMUX=1
#THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!! #THIS MUST BE AT THE END OF THE FILE FOR SDKMAN TO WORK!!!
export SDKMAN_DIR="$HOME/.sdkman" export SDKMAN_DIR="$HOME/.sdkman"