tcl_rcFileName

This variable is used during initialization to indicate the name of a user-specific startup file. If it is set by application- specific initialization, then the Tcl startup code will check for the existence of this file and source it if it exists. For example, for wish the variable is set to ~/.wishrc for Unix and ~/wishrc.tcl for Windows. (from the "tclvars" manpage)


AMB - 2025-06-09 14:52:13

To make math easier, I have my $tcl_rcFileName set to this:

namespace path {::tcl::mathfunc ::tcl::mathop}; interp alias {} = {} expr