#!/bin/csh -f # # Personal C shell customizations # Read at start of execution of each C shell # # No core dumps limit coredumpsize 0 # default permissions of newly created files and directories # - deny all others directory-access and write permissions umask 033 # Site-wide C shell customizations -- DO NOT DELETE! #if ( -e /cs/share/skel/cshrc.site ) source /cs/share/skel/cshrc.site # Used custom script to remove some auto-aliases and color modes if ( -e ~/my.cshrc.site ) source ~/my.cshrc.site # Environment variables setenv PAGER less # use 'less' rather then 'more' setenv EDITOR nano setenv PRINTER b519 setenv BLOCKSIZE 1k if (-e ~/.classpath) source ~/.classpath # sets java's CLASSPATH # If non-interactive, exit if (! $?prompt) exit 0 # Basic aliases alias rm 'rm -i' # ask on remove alias cp 'cp -i' # ask on overwrite alias mv 'mv -i' # ask on overwrite # shell checks mail every 60 secs set mail = (60 /cs/mail/$user /cs/spam/$user) alias lastf 'set noglob;\lastf \!*;unset noglob' set -f path=("/cs/phd/ors07/.local/bin" "/cs/phd/ors07/deep/simnets-caffe/tools/extra/" "/cs/phd/ors07/deep/simnets-caffe/build/tools" "/cs/deep/ors07/lab/utils" "/cs/deep/ors07/lab/utils/gen_script" $path:q) setenv CUDA_ROOT /usr/local/nvidia/cuda/7.0 setenv CUDA_HOME /usr/local/nvidia/cuda/7.5/ if ($?LD_LIBRARY_PATH) then setenv LD_LIBRARY_PATH ${LD_LIBRARY_PATH}:/usr/local/nvidia/cuda/8.0/lib64:/usr/local/nvidia/cuda/8.0/extras/CUPTI/lib64:/usr/local/nvidia/cuda/cudnn/cudnn-7.0-linux-x64-v4.0-prod/lib64 else setenv LD_LIBRARY_PATH /usr/local/nvidia/cuda/8.0/lib64:/usr/local/nvidia/cuda/8.0/extras/CUPTI/lib64:/usr/local/nvidia/cuda/cudnn/cudnn-7.0-linux-x64-v4.0-prod/lib64 endif if ($?PYTHONPATH) then setenv PYTHONPATH ${PYTHONPATH}:/cs/deep/ors07/simnets-caffe/python:/cs/grad/ors07/.local/lib/python2.7/site-packages:/cs/deep/ors07/lab/utils else setenv PYTHONPATH /cs/deep/ors07/simnets-caffe/python:/cs/grad/ors07/.local/lib/python2.7/site-packages:/cs/deep/ors07/lab/utils endif setenv LC_ALL en_US.UTF-8 setenv LANG en_US.UTF-8 setenv WORKON_HOME $HOME/.virtualenvs setenv PROJECT_HOME $HOME/Devel setenv VIRTUALENVWRAPPER_SCRIPT $HOME/.local/bin/virtualenvwrapper.sh setenv VIRTUALENVWRAPPER_VIRTUALENV $HOME/.local/bin/virtualenv # Start zsh setenv SHELL /bin/zsh exec /bin/zsh --login