1
mirror of https://github.com/jakejarvis/dotfiles.git synced 2026-01-12 16:32:54 -05:00

give up on NVM. again... (it's SO FREAKING SLOW.)

This commit is contained in:
2020-06-13 17:36:00 -04:00
parent 6fea13f0bf
commit f557f09441
5 changed files with 50 additions and 15 deletions

View File

@@ -1,3 +1,6 @@
# uncomment to profile slow startup time
# zmodload zsh/zprof
# Path to cloned dotfiles repo
export DOTFILES=$HOME/.dotfiles
@@ -7,7 +10,7 @@ export ZSH=$HOME/.oh-my-zsh
# Default to nano 'cause I'm a wimp
export EDITOR="nano"
export VISUAL="code"
export BROWSER="firefox"
export BROWSER="/Applications/Firefox.app/Contents/MacOS/firefox-bin"
# Adjust history for speed
HISTFILE=~/.zsh_history
@@ -17,6 +20,10 @@ SAVEHIST=10000
# Oh My ZSH settings
ZSH_CUSTOM=$DOTFILES/zsh
ZSH_THEME="agnoster"
DEFAULT_USER=jake
DISABLE_UPDATE_PROMPT=true
# Oh My ZSH plugins
plugins=(
colorize
osx
@@ -24,13 +31,16 @@ plugins=(
zsh-autosuggestions
)
# Perform compinit only once a day
# https://gist.github.com/ctechols/ca1035271ad134841284
#autoload -Uz compinit
#if [ $(date +'%j') != $(stat -f '%Sm' -t '%j' ~/.zcompdump) ]; then
# compinit
#else
# compinit -C
#fi
autoload -Uz compinit
if [[ -n ${ZDOTDIR}/.zcompdump(\#qN.mh+24) ]]; then
compinit
compdump
else
compinit -C
fi;
# Load everything!
source $ZSH/oh-my-zsh.sh
@@ -48,3 +58,7 @@ export LSCOLORS=ExFxBxDxCxegedabagacad
export HOMEBREW_NO_ANALYTICS=1
export HOMEBREW_NO_INSECURE_REDIRECT=1
export HOMEBREW_CASK_OPTS=--require-sha
# uncomment to profile slow startup time
# zprof
# zmodload -u zsh/zprof