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)
|
||||
|
||||
try:
|
||||
source @(os.path.join($HOME, '.config/tako/local.tako'))
|
||||
except:
|
||||
_localconf = os.path.join($HOME, '.config/tako/local.tako')
|
||||
if os.path.isfile(_localconf):
|
||||
try:
|
||||
source @(_localconf)
|
||||
except:
|
||||
pass
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue