From d35dcd9699e5677d0ee522076a9fe39e810e91e2 Mon Sep 17 00:00:00 2001 From: Danielle McLean Date: Sat, 8 Oct 2016 00:27:15 +1100 Subject: [PATCH] Fixes so that the login shell bits work properly on Ubuntu --- config/zsh/login/langs | 4 ++-- config/zsh/login/path | 4 ++-- config/zsh/login/skip | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) 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