skip loaded rc msg unless isatty
This commit is contained in:
parent
f37fc926f5
commit
cad4b55102
@ -152,7 +152,7 @@ public class Shell extends ShellBase {
|
|||||||
try {
|
try {
|
||||||
File rc = new File(dir, RCFILE_NAME);
|
File rc = new File(dir, RCFILE_NAME);
|
||||||
readRCFile(rc, false);
|
readRCFile(rc, false);
|
||||||
if (this.isInteractive) {
|
if (this.isInteractive && Getline.isTTY()) {
|
||||||
this.out.println("Loaded rc file: " + rc);
|
this.out.println("Loaded rc file: " + rc);
|
||||||
}
|
}
|
||||||
} catch (IOException e) { }
|
} catch (IOException e) { }
|
||||||
|
Loading…
Reference in New Issue
Block a user