MCPcopy Index your code
hub / github.com/beanshell/beanshell / loadRCFiles

Method loadRCFiles

src/bsh/Interpreter.java:1025–1035  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1023 /* End methods for interacting with Parser */
1024
1025 void loadRCFiles() {
1026 try {
1027 String rcfile =
1028 // Default is c:\windows under win98, $HOME under Unix
1029 System.getProperty("user.home") + File.separator + ".bshrc";
1030 source( rcfile, globalNameSpace );
1031 } catch ( Exception e ) {
1032 // squeltch security exception, filenotfoundexception
1033 if ( Interpreter.DEBUG ) debug("Could not find rc file: "+e);
1034 }
1035 }
1036
1037 /**
1038 Localize a path to the file name based on the bsh.cwd interpreter

Callers 1

InterpreterMethod · 0.95

Calls 2

sourceMethod · 0.95
debugMethod · 0.95

Tested by

no test coverage detected