From 7e07bb4988051271a6f629c93584f8921b74f0cc Mon Sep 17 00:00:00 2001 From: Tim Keller Date: Tue, 22 Sep 2026 11:25:43 -0500 Subject: expand path before simplifying to /home/timmy to ensure path doesnt show as empty --- lua/tjk/misc.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lua/tjk/misc.lua') diff --git a/lua/tjk/misc.lua b/lua/tjk/misc.lua index 56ba209..1c4318f 100644 --- a/lua/tjk/misc.lua +++ b/lua/tjk/misc.lua @@ -14,7 +14,7 @@ function _G.title_flags() return f ~= "" and (" " .. f) or "" end -vim.o.titlestring = '%t%{v:lua.title_flags()} (' .. user_at_host .. ' %{expand("%:~:h")}%a) - Nvim' +vim.o.titlestring = '%t%{v:lua.title_flags()} (' .. user_at_host .. ' %{expand("%:p:~:h")}%a) - Nvim' -- vim.cmd [[ -- cgit v1.3.1