all repos — nixfiles @ 61a885bece9549f994731b9017c00491b1cb6499

System and user configuration, managed by nix and home-manager

Re-make zsh configuration Start using zplug with the bare minimum of extra configuration

Alan Pearce
commit

61a885bece9549f994731b9017c00491b1cb6499

parent

32c46b315483ec2f58f14acd5cc3d9145c65c65c

1 file changed, 1 insertion(+), 60 deletions(-)

changed files
M tag-zsh/config/zsh/zshenvtag-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}