# set open file limit ulimit -n 1024 # ignore duplicate history entries setopt histignoredups # keep TONS of history export HISTFILE=$HOME/.zsh_history export HISTSIZE=4096 export SAVEHIST=4096 # use NeoVim as EDITOR export VISUAL=nvim export EDITOR=$VISUAL # shared history setopt append_history setopt inc_append_history setopt share_history # automatically pushd setopt auto_pushd export dirstacksize=5 # Case insensitive completion zstyle ':completion:*' matcher-list 'm:{a-zA-Z}={A-Za-z}' 'r:|[._-]=* r:|=*' 'l:|=* r:|=*' # Enable completion menu zstyle ':completion:*' menu select=1 _complete _ignored _approximate # Enable rbenv if (( $+commands[rbenv] )); then export PATH="$HOME/.rbenv/bin:$PATH" eval "$(rbenv init -)" fi # Node stuff export PATH=/usr/local/share/npm/bin:$PATH export NODE_PATH=/usr/local/lib/node_modules # Environment config [[ -f ~/.zshrc.env ]] && source ~/.zshrc.env if (( $+commands[thefuck] )); then eval "$(thefuck --alias)" fi export PATH="$HOME/.bin:$PATH" eval "$(starship init zsh)"