Tako config tweaks
This commit is contained in:
parent
e1c32663b1
commit
b1493832c5
1 changed files with 6 additions and 0 deletions
|
|
@ -28,13 +28,16 @@ for t in [
|
||||||
if ?(which @(t)):
|
if ?(which @(t)):
|
||||||
$TERMINAL = t
|
$TERMINAL = t
|
||||||
break
|
break
|
||||||
|
del t
|
||||||
|
|
||||||
for path in [
|
for path in [
|
||||||
$HOME + '/bin',
|
$HOME + '/bin',
|
||||||
$HOME + '/.local/bin',
|
$HOME + '/.local/bin',
|
||||||
|
$HOME + '/go/bin',
|
||||||
]:
|
]:
|
||||||
if path not in $PATH:
|
if path not in $PATH:
|
||||||
$PATH.insert(0, path)
|
$PATH.insert(0, path)
|
||||||
|
del path
|
||||||
|
|
||||||
$LS_COLORS = $(dircolors @($HOME + '/.config/zsh/dircolors.256dark'))[len("LS_COLORS='"):-len("';\nexport LS_COLORS")]
|
$LS_COLORS = $(dircolors @($HOME + '/.config/zsh/dircolors.256dark'))[len("LS_COLORS='"):-len("';\nexport LS_COLORS")]
|
||||||
|
|
||||||
|
|
@ -75,6 +78,8 @@ $TAKO_SETTINGS.aliases.update({
|
||||||
'screenshot': _screenshot,
|
'screenshot': _screenshot,
|
||||||
'g': 'git',
|
'g': 'git',
|
||||||
'rg': 'rg -S',
|
'rg': 'rg -S',
|
||||||
|
't': 'task',
|
||||||
|
'notes': 'chromium --new-window https://notebook.zoho.com',
|
||||||
})
|
})
|
||||||
|
|
||||||
if 'TERM' in ${...}:
|
if 'TERM' in ${...}:
|
||||||
|
|
@ -179,3 +184,4 @@ if os.path.isfile(_localconf):
|
||||||
source @(_localconf)
|
source @(_localconf)
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
del _localconf
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue