Mercurial > ec-dotfiles
changeset 243:3167e31f8f01
[tcsh] Sanity tester.
author | Edho Arief <edho@myconan.net> |
---|---|
date | Thu, 03 Nov 2011 15:55:44 +0700 |
parents | ebfa844d2ef8 |
children | b6b9a47de016 |
files | rc/tcsh |
diffstat | 1 files changed, 7 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/rc/tcsh Thu Nov 03 15:43:17 2011 +0700 +++ b/rc/tcsh Thu Nov 03 15:55:44 2011 +0700 @@ -5,6 +5,13 @@ exit endif +# Ensures we're not loading this script again. +if ( ! $?ecos_tcsh_loaded ) then + set ecos_tcsh_loaded="yes" +else + exit +endif + [ -e "${HOME}/.ecos_tcsh.before" ] && source "${HOME}/.ecos_tcsh.before" umask 22 limit coredumpsize 0