diff options
author | Alan Pearce | 2016-06-26 17:29:22 +0200 |
---|---|---|
committer | Alan Pearce | 2016-06-26 17:29:22 +0200 |
commit | 61a885bece9549f994731b9017c00491b1cb6499 (patch) | |
tree | f84f2c24a6c078aaafc3338bcdca91cdf8f525ff /tag-zsh/config/zsh/zshenv | |
parent | 32c46b315483ec2f58f14acd5cc3d9145c65c65c (diff) | |
parent | 097663cb10d0e8c244063af28295cff6d686f1bb (diff) | |
download | nixfiles-61a885bece9549f994731b9017c00491b1cb6499.tar.lz nixfiles-61a885bece9549f994731b9017c00491b1cb6499.tar.zst nixfiles-61a885bece9549f994731b9017c00491b1cb6499.zip |
Re-make zsh configuration
Start using zplug with the bare minimum of extra configuration
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 |