feat(terminal): use shell as title
This commit is contained in:
parent
ecb38b33c0
commit
0d758652e5
1 changed files with 3 additions and 2 deletions
|
@ -1,9 +1,10 @@
|
||||||
local colors = require('cosmic.core.theme.colors')
|
local colors = require('cosmic.core.theme.colors')
|
||||||
local highlight = require('cosmic.utils').highlight
|
local highlight = require('cosmic.utils').highlight
|
||||||
local g = vim.g
|
local g = vim.g
|
||||||
|
local title = vim.env.SHELL
|
||||||
|
|
||||||
g.floaterm_width = 0.8
|
g.floaterm_width = 0.7
|
||||||
g.floaterm_height = 0.8
|
g.floaterm_height = 0.8
|
||||||
g.floaterm_title = '|👾 ($1/$2)|'
|
g.floaterm_title = '[' .. title .. ']:($1/$2)'
|
||||||
g.floaterm_opener = 'vsplit'
|
g.floaterm_opener = 'vsplit'
|
||||||
highlight('FloatermBorder', 'None', colors.floatBorder)
|
highlight('FloatermBorder', 'None', colors.floatBorder)
|
||||||
|
|
Loading…
Add table
Reference in a new issue