Set $TERMINAL when possible
This commit is contained in:
parent
da83a0ed93
commit
27e013eef6
1 changed files with 9 additions and 0 deletions
|
|
@ -21,6 +21,15 @@ $XDG_CONFIG_HOME = $HOME + '/.config'
|
||||||
$EDITOR = 'nvim'
|
$EDITOR = 'nvim'
|
||||||
$VISUAL = $EDITOR
|
$VISUAL = $EDITOR
|
||||||
|
|
||||||
|
for t in [
|
||||||
|
'termite',
|
||||||
|
'urxvt',
|
||||||
|
'xterm',
|
||||||
|
]:
|
||||||
|
if ?(which @(t)):
|
||||||
|
$TERMINAL = t
|
||||||
|
break
|
||||||
|
|
||||||
for path in [
|
for path in [
|
||||||
$HOME + '/bin',
|
$HOME + '/bin',
|
||||||
$HOME + '/.local/bin',
|
$HOME + '/.local/bin',
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue