mirror of
https://github.com/tomru/DotfilesOld.git
synced 2026-03-04 15:07:23 +01:00
ditch zshenv, manipulating PATH in there causes issues
This commit is contained in:
33
zshenv
33
zshenv
@@ -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
33
zshrc
@@ -16,6 +16,39 @@ if ! zgen saved; then
|
|||||||
zgen save
|
zgen save
|
||||||
fi
|
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
|
# keybindings
|
||||||
|
|
||||||
bindkey '^r' history-incremental-search-backward
|
bindkey '^r' history-incremental-search-backward
|
||||||
|
|||||||
Reference in New Issue
Block a user