diff options
Diffstat (limited to '.tcshrc.local')
-rw-r--r-- | .tcshrc.local | 54 |
1 files changed, 28 insertions, 26 deletions
diff --git a/.tcshrc.local b/.tcshrc.local index d000051..fbda62a 100644 --- a/.tcshrc.local +++ b/.tcshrc.local @@ -1,41 +1,43 @@ -############################################################################# ## -## .tcshrc.local +## ~/.tcshrc.local ## -## Author: Simos Xenitellis (simos.lists@googlemail.com) +## Aaron LI +## Created: 2011-06-30 +## Updated: 2016-01-06 ## -## This is the .tcshrc.local file, part of the TCSHRC project -## at http://tcshrc.sourceforge.net -## -## Here you add your aliases, sets, completions and bindkeys that you want -## to override from the default settings. - -### TeXLive -if ( -d /usr/local/texlive/bin/x86_64-linux ) then - set -f path = ( /usr/local/texlive/bin/x86_64-linux $path ) -endif ### ConTeXt setenv OSFONTDIR "$HOME/.fonts;/usr/share/fonts" -### DS9 settings -#if ( -x ~/bin/ds9 ) then -# alias ds9 '~/bin/ds9' -#endif +## GCC runtime +set GCC_VERSION=48 +if ( -d "/usr/local/lib/gcc${GCC_VERSION}" ) then + setenv LD_LIBRARY_PATH "/usr/local/lib/gcc${GCC_VERSION}" +endif -# astro CALDB -if ( $?CALDB == 0 ) then - setenv CALDB "$HOME/local/CALDB" - setenv CALDBALIAS "${CALDB}/software/tools/alias_config.fits" - setenv CALDBCONFIG "${CALDB}/software/tools/caldb.config" +### Astro +if ( $?LD_LIBRARY_PATH ) then + set LD_LIBRARY_PATH_BAK=${LD_LIBRARY_PATH} endif -setenv HEADAS "/opt/heasoft/heasoft-6.12/x86_64-unknown-linux-gnu" -setenv CIAO_PATH "/opt/ciao/ciao-4.4" -#setenv SAS_DIR "/opt/xmmsas/xmmsas_20110223_1801" +## HEASoft +setenv HEADAS "$HOME/local/heasoft/heasoft-6.16/x86_64-unknown-freebsd10.2" alias heainit 'source ~/.tcsh/heainit.csh' + +## CIAO +setenv CIAO_PATH "$HOME/local/ciao/ciao-4.6" alias ciaoinit 'source ~/.tcsh/ciaoinit.csh' -#alias sasinit 'source ~/.tcsh/sasinit.csh' + +## MARX +set MARX_PATH = "$HOME/local/marx/5.1" +set path = ( $path $MARX_PATH/bin ) +setenv MARX_DATA_DIR "$MARX_PATH/share/marx/data" +if ( $?PFILES ) then + setenv PFILES "${PFILES}:$MARX_PATH/share/marx/pfiles" +else + setenv PFILES "$MARX_PATH/share/marx/pfiles" +endif ### misc settings +# vim: set ts=8 sw=4 tw=0 fenc=utf-8 ft=tcsh: # |