ditch zshenv, manipulating PATH in there causes issues

This commit is contained in:
Thomas Ruoff
2015-06-30 23:18:07 +02:00
parent 944c06d243
commit 624519a82d
2 changed files with 33 additions and 33 deletions

33
zshenv
View File

@@ -1,33 +0,0 @@
########################
# Source Things
########################
# dircolors
[ -s ~/.dircolors ] && . ~/.dircolors
# extend path
export PATH=$HOME/local/bin:$PATH
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh" && nvm use > /dev/null
# Base16 Shell
BASE16_SCHEME="solarized"
BASE16_SHELL="$HOME/.base16-shell/base16-$BASE16_SCHEME.dark.sh"
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
########################
# Dist related settings
########################
DIST=$(lsb_release -si)
case DIST in
Arch )
;;
esac
########################
# Aliases
########################
alias g=git
rl () { $(npm bin)/$* }

33
zshrc
View File

@@ -16,6 +16,39 @@ if ! zgen saved; then
zgen save
fi
# dircolors
[ -s ~/.dircolors ] && . ~/.dircolors
# extend path
export PATH="$HOME/local/bin:$PATH"
# nvm
export NVM_DIR="$HOME/.nvm"
[ -s "$NVM_DIR/nvm.sh" ] && . "$NVM_DIR/nvm.sh"
# use node version specified in ~/.nvmrc as default
nvm use > /dev/null
# Base16 Shell
BASE16_SCHEME="solarized"
BASE16_SHELL="$HOME/.base16-shell/base16-$BASE16_SCHEME.dark.sh"
[[ -s $BASE16_SHELL ]] && . $BASE16_SHELL
########################
# Dist related settings
########################
DIST=$(lsb_release -si)
case DIST in
Arch )
;;
esac
########################
# Aliases
########################
alias g=git
rl () { $(npm bin)/$* }
# keybindings
bindkey '^r' history-incremental-search-backward