From 3f59db602c9537ee78edd8dc1ed1b237c82b3f1e Mon Sep 17 00:00:00 2001 From: Mike Vink <59492084+ivi-vink@users.noreply.github.com> Date: Fri, 31 Jan 2025 19:25:43 +0000 Subject: fix terminfo inside container --- mut/bin/pnsh-nvim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'mut') diff --git a/mut/bin/pnsh-nvim b/mut/bin/pnsh-nvim index 833a67d..61bc47c 100755 --- a/mut/bin/pnsh-nvim +++ b/mut/bin/pnsh-nvim @@ -8,10 +8,9 @@ if not ($desktop_open_pipe | path exists) { let args = ( "--init" + " --entrypoint=/usr/bin/nu" + -" --env=TERM=xterm" + -$" --env=TERMINFO" + +" --env=TERM=xterm-ghostty" + $" --env=EDITOR=vis" + -$" --volume=($env.TERMINFO):($env.TERMINFO)" + +$" --volume=($env.TERMINFO)/78/xterm-ghostty:/usr/share/terminfo/x/xterm-ghostty" + " --env=_ZO_DATA_DIR=/hostfs/.local/share/zoxide" + " --volume=/etc/profiles/per-user/ivi/etc/profile.d:/etc/profiles/per-user/ivi/etc/profile.d" + " --env=SHELL=/usr/bin/nu" + -- cgit v1.2.3