Browse Source

Updated path for homebrew utils and fixed whitespace.

master
Daniel Sissom 5 years ago
parent
commit
1ff4ecf992
Signed by untrusted user who does not match committer: djsissom GPG Key ID: 2C30FFB796852389
2 changed files with 18 additions and 14 deletions
  1. + 1
    - 1
      sh/aliases
  2. + 17
    - 13
      zsh/zshrc

+ 1
- 1
sh/aliases

@ -106,7 +106,7 @@ case "$host" in
;;
( osx )
#alias ls='ls -G'
alias ls='ls --color --literal'
alias ls='ls --color=auto --literal'
alias top='top -o cpu'
alias ssh='if [[ `ssh-add -l` == "The agent has no identities." ]]; then ssh-add -t 28800; fi && ssh'
alias rsync='if [[ `ssh-add -l` == "The agent has no identities." ]]; then ssh-add -t 28800; fi && rsync'

+ 17
- 13
zsh/zshrc

@ -177,10 +177,10 @@ typeset -U path
case "$host" in
( cluster )
path=(/usr/local/supermongo/bin # Supermongo path
/usr/local/cuda/bin: # Nvidia CUDA path
/usr/lpp/mmfs/bin # GPFS utilities path
~/local/bin: # User-specific path
path=(/usr/local/supermongo/bin # Supermongo path
/usr/local/cuda/bin # Nvidia CUDA path
/usr/lpp/mmfs/bin # GPFS utilities path
~/local/bin # User-specific path
$path)
export -UT LD_LIBRARY_PATH=/usr/scheduler/torque/lib:$LD_LIBRARY_PATH ld_library_path
export -UT LD_LIBRARY_PATH=/usr/local/supermongo/lib:$LD_LIBRARY_PATH ld_library_path
@ -192,9 +192,9 @@ case "$host" in
export -UT IDL_PATH=.:+/usr/local/idl/idl/lib:+/usr/local/idl/idl/:$IDL_PATH idl_path
;;
( astro )
path=(/usr/local/python64/bin # Python path (64 bit)
~/local/bin # User specific path
path)
path=(/usr/local/python64/bin # Python path (64 bit)
~/local/bin # User specific path
$path)
export -UT LD_LIBRARY_PATH=/usr/local/python64/lib:$LD_LIBRARY_PATH ld_library_path
export -UT PYTHONPATH=~/local/lib/python/latest/site-packages:$PYTHONPATH pythonpath
export -UT PYTHONPATH=/usr/local/python64/lib/python*/site-packages:$PYTHONPATH pythonpath
@ -203,7 +203,7 @@ case "$host" in
export IDL_STARTUP=~/.idl/idl_startup.pro
;;
( linux )
path=(~/Local/bin $path) # User specific path
path=(~/Local/bin $path) # User specific path
export -UT PYTHONPATH=~/Local/lib/python/python-2.7/site-packages:$PYTHONPATH pythonpath
export -UT PYTHONPATH=~/Local/lib/python/latest/site-packages:$PYTHONPATH pythonpath
export -UT PYTHONPATH=~/Local/lib/python3/site-packages:$PYTHONPATH pythonpath
@ -212,11 +212,15 @@ case "$host" in
export -UT BIBINPUTS=.:./style:$BIBINPUTS bibinputs
;;
( osx )
path=(/opt/local/bin:/opt/local/sbin # Macports path
~/Local/bin # User specific path
/usr/local/opt/coreutils/libexec/gnubin # Gnu coreutils from Homebrew
/usr/local/opt/python/libexec/bin # Unversioned python3
$path)
path=(~/Local/bin # User specific path
/usr/local/opt/coreutils/libexec/gnubin # Gnu coreutils from Homebrew
/usr/local/opt/findutils/libexec/gnubin # Gnu find from Homebrew
/usr/local/opt/grep/libexec/gnubin # Gnu grep from Homebrew
/usr/local/opt/gnu-sed/libexec/gnubin # Gnu sed from Homebrew
/usr/local/opt/gnu-indent/libexec/gnubin # Gnu indent from Homebrew
/usr/local/opt/gnu-tar/libexec/gnubin # Gnu tar from Homebrew
/usr/local/opt/python/libexec/bin # Unversioned python3
$path)
export -UT PYTHONPATH=~/Local/lib/python/latest/site-packages:$PYTHONPATH pythonpath
;;
esac

Loading…
Cancel
Save