diff --git a/tcshrc b/tcshrc index fb16b15..ad8b5d0 100644 --- a/tcshrc +++ b/tcshrc @@ -53,10 +53,14 @@ endif _debug "Setting up optional sourcing mechanism." # This safe_source alias is incredibly delicate. It drives the whole # optional sourcing mechanism -- DO NOT MESS WITH IT! -alias safe_source 'eval "if ( -f \!:1 ) then \\ +alias old_safe_source 'eval "if ( -f \!:1 ) then \\ source \!:1 \\ endif"' +alias new_safe_source "test -f \!:1 && source \!:1" + +alias safe_source new_safe_source + _debug "Setting up optional session sourcing mechanism." # These reload_session and `__load_session` aliases ar incredibly delicate. They drives # the whole optional session mechanism -- DO NOT MESS WITH IT LIGHTLY!