diff --git a/config/zsh/login/langs b/config/zsh/login/langs index ab600ac..28cee30 100644 --- a/config/zsh/login/langs +++ b/config/zsh/login/langs @@ -1,6 +1,6 @@ #! zsh -local newbins=() +local -a newbins # go [[ -z $GOPATH ]] && export GOPATH=~/.go @@ -16,7 +16,7 @@ if whence rock >/dev/null; then fi # ruby -newbins+=(~/.gem/ruby/*/bin) +newbins+=(~/.gem/ruby/*/bin(N)) # perl export PERL_LOCAL_LIB_ROOT="$HOME/perl5:$PERL_LOCAL_LIB_ROOT" diff --git a/config/zsh/login/path b/config/zsh/login/path index b4e9984..f92409a 100644 --- a/config/zsh/login/path +++ b/config/zsh/login/path @@ -5,12 +5,12 @@ if whence brew >/dev/null; then path=( /usr/local/opt/coreutils/libexec/gnubin /usr/local/sbin - ~/Library/Python/*/bin + ~/Library/Python/*/bin(N) $path ) fi -path=(/usr/local/texlive/20*/bin/universal-* $path) +path=(/usr/local/texlive/20*/bin/universal-*(N) $path) path=(~/bin ~/.bin ~/.local/bin $path) # filter out duplicates, nonexistent directories, and . (the current directory) diff --git a/config/zsh/login/skip b/config/zsh/login/skip index bb01985..148e1dd 100644 --- a/config/zsh/login/skip +++ b/config/zsh/login/skip @@ -1,3 +1,3 @@ #! zsh -skip_global_compinit=1 -skip_path_helper=1 +export skip_global_compinit=1 +export skip_path_helper=1