Skip to content

Commit 5dd39fe

Browse files
committed
Only try to run .esrc on login if it exists
1 parent bc15306 commit 5dd39fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime.es

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ fn %main argv {
119119
$&importenvfuncs
120120
}
121121

122-
if {~ $runflags login} {
122+
if {~ $runflags login && access -r ~/.esrc} {
123123
catch @ e type msg {
124124
if {~ $e exit} {
125125
throw $e $type $msg

0 commit comments

Comments
 (0)