Fixes so that the login shell bits work properly on Ubuntu

This commit is contained in:
Danielle McLean 2016-10-08 00:27:15 +11:00
parent 68d5f293cf
commit d35dcd9699
3 changed files with 6 additions and 6 deletions

View file

@ -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"

View file

@ -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)

View file

@ -1,3 +1,3 @@
#! zsh
skip_global_compinit=1
skip_path_helper=1
export skip_global_compinit=1
export skip_path_helper=1