changeset 25:e0b9a89a559d

Support for "before" script.
author Edho Prima Arief <me@myconan.net>
date Fri, 21 Jan 2011 05:32:12 +0000
parents 75c0cedc20ee
children 175848778e77
files tcsh
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/tcsh	Wed Jan 05 16:23:12 2011 +0700
+++ b/tcsh	Fri Jan 21 05:32:12 2011 +0000
@@ -1,4 +1,5 @@
 #!/usr/bin/env tcsh
+[ -e "${HOME}/.tcsh_init.before" ] && source "${HOME}/.tcsh_init.before"
 umask 22
 limit coredumpsize 0
 
@@ -92,4 +93,4 @@
 
 ( which vim ) > /dev/null && alias vi vim
 
-[ -e "${HOME}/.tcsh_exec" ] && source "${HOME}/.tcsh_exec"
+[ -e "${HOME}/.tcsh_init.after" ] && source "${HOME}/.tcsh_init.after"