mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-03 06:27:21 +01:00
ditch zshenv, manipulating PATH in there causes issues
This commit is contained in:
33
zshrc
33
zshrc
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user