Fixes so that the login shell bits work properly on Ubuntu
This commit is contained in:
parent
68d5f293cf
commit
d35dcd9699
3 changed files with 6 additions and 6 deletions
|
@ -1,6 +1,6 @@
|
||||||
#! zsh
|
#! zsh
|
||||||
|
|
||||||
local newbins=()
|
local -a newbins
|
||||||
|
|
||||||
# go
|
# go
|
||||||
[[ -z $GOPATH ]] && export GOPATH=~/.go
|
[[ -z $GOPATH ]] && export GOPATH=~/.go
|
||||||
|
@ -16,7 +16,7 @@ if whence rock >/dev/null; then
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ruby
|
# ruby
|
||||||
newbins+=(~/.gem/ruby/*/bin)
|
newbins+=(~/.gem/ruby/*/bin(N))
|
||||||
|
|
||||||
# perl
|
# perl
|
||||||
export PERL_LOCAL_LIB_ROOT="$HOME/perl5:$PERL_LOCAL_LIB_ROOT"
|
export PERL_LOCAL_LIB_ROOT="$HOME/perl5:$PERL_LOCAL_LIB_ROOT"
|
||||||
|
|
|
@ -5,12 +5,12 @@ if whence brew >/dev/null; then
|
||||||
path=(
|
path=(
|
||||||
/usr/local/opt/coreutils/libexec/gnubin
|
/usr/local/opt/coreutils/libexec/gnubin
|
||||||
/usr/local/sbin
|
/usr/local/sbin
|
||||||
~/Library/Python/*/bin
|
~/Library/Python/*/bin(N)
|
||||||
$path
|
$path
|
||||||
)
|
)
|
||||||
fi
|
fi
|
||||||
|
|
||||||
path=(/usr/local/texlive/20*/bin/universal-* $path)
|
path=(/usr/local/texlive/20*/bin/universal-*(N) $path)
|
||||||
path=(~/bin ~/.bin ~/.local/bin $path)
|
path=(~/bin ~/.bin ~/.local/bin $path)
|
||||||
|
|
||||||
# filter out duplicates, nonexistent directories, and . (the current directory)
|
# filter out duplicates, nonexistent directories, and . (the current directory)
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
#! zsh
|
#! zsh
|
||||||
skip_global_compinit=1
|
export skip_global_compinit=1
|
||||||
skip_path_helper=1
|
export skip_path_helper=1
|
||||||
|
|
Loading…
Reference in a new issue