More robust tako localconf
This commit is contained in:
parent
a9c1466101
commit
4b6b578307
1 changed files with 6 additions and 4 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue