parent
1d27f708a6
commit
dcbda9ddbd
|
@ -1155,6 +1155,12 @@ if __name__ == "__main__":
|
||||||
if os.getenv('PMC_TERM'):
|
if os.getenv('PMC_TERM'):
|
||||||
os.putenv('TERM', os.getenv('PMC_TERM'))
|
os.putenv('TERM', os.getenv('PMC_TERM'))
|
||||||
|
|
||||||
|
# load an optional init file
|
||||||
|
try:
|
||||||
|
exec(open(os.path.join(os.getenv('HOME'), '.pmc', 'init'), 'r'))
|
||||||
|
except:
|
||||||
|
pass
|
||||||
|
|
||||||
# if -b but no -m, then use -m hex
|
# if -b but no -m, then use -m hex
|
||||||
if opts.binary and not opts.mode:
|
if opts.binary and not opts.mode:
|
||||||
opts.mode = 'hex'
|
opts.mode = 'hex'
|
||||||
|
|
Loading…
Reference in New Issue