diff options
Diffstat (limited to 'tag-zsh/config/zsh/zshenv')
-rw-r--r--[-rwxr-xr-x] | tag-zsh/config/zsh/zshenv | 61 |
1 files changed, 1 insertions, 60 deletions
diff --git a/tag-zsh/config/zsh/zshenv b/tag-zsh/config/zsh/zshenv index 5d206c98..d5ef76a1 100755..100644 --- a/tag-zsh/config/zsh/zshenv +++ b/tag-zsh/config/zsh/zshenv @@ -1,65 +1,6 @@ -# -*- mode: sh; -*- -export GOPATH="$HOME/projects/go" - -if [[ $defpath == "" ]] -then - defpath=($path) - path=( - $defpath - ~/bin - $GOPATH/bin - ) -fi - -export PATH - -myfuncs=( $ZDOTDIR/functions/*(/) ) -fpath=( - $myfuncs - $ZDOTDIR/completion/ - $fpath -) -if [[ -d /usr/local/share/zsh-completions ]] -then - fpath=(/usr/local/share/zsh-completions $fpath) -fi - -if [[ -d /usr/local/share/zsh/site-functions ]] -then - fpath=(/usr/local/share/zsh/site-functions $fpath) -fi - -if [[ -d /usr/local/opt/pass/share/zsh/site-functions ]] -then - fpath=($fpath /usr/local/opt/pass/share/zsh/site-functions) -fi - -export FPATH - -case $OSTYPE in - *gnu*) - os=gnu - ;; - freebsd*) - os=freebsd - ;; - darwin*) - os=osx -esac - -export os - if [[ -f $ZDOTDIR/zshenv.local ]] then . $ZDOTDIR/zshenv.local fi -if [[ -f $ZDOTDIR/zshenv.private ]] -then - . $ZDOTDIR/zshenv.private -fi - -if [[ -s $commands[direnv] ]] -then - eval "$(direnv hook zsh)" -fi +ZPLUG_HOME=${ZPLUG_HOME:-~/projects/zplug} \ No newline at end of file |