diff options
Diffstat (limited to 'lua/luatab/init.lua')
-rw-r--r-- | lua/luatab/init.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lua/luatab/init.lua b/lua/luatab/init.lua index 6f513a6..486b004 100644 --- a/lua/luatab/init.lua +++ b/lua/luatab/init.lua @@ -12,7 +12,7 @@ local function tabName(bufnr) return 'FZF' elseif buftype == 'terminal' then local _, mtch = string.match(file, "term:(.*):(%a+)") - return mtch ~= nil and mtch or 'zsh' + return mtch ~= nil and mtch or vim.fn.fnamemodify(vim.env.SHELL, ':t') elseif file == '' then return '[No Name]' end |