1
0
Fork 0

More robust tako localconf

This commit is contained in:
Jeremy Kaplan 2018-04-05 21:27:13 -07:00
commit 4b6b578307

View file

@ -173,7 +173,9 @@ if 'TERM' in ${...}:
$TAKO_SETTINGS.hooks['post_command'].append(_set_code) $TAKO_SETTINGS.hooks['post_command'].append(_set_code)
try: _localconf = os.path.join($HOME, '.config/tako/local.tako')
source @(os.path.join($HOME, '.config/tako/local.tako')) if os.path.isfile(_localconf):
except: try:
source @(_localconf)
except:
pass pass