From 246b18a3e6636eda64bd6ca49f1971f8379754db Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Fri, 29 Jul 2022 22:01:41 -0500 Subject: [PATCH] feat(wezterm): add install function for terminfo --- .profile | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/.profile b/.profile index 37f4e1c1..224758aa 100644 --- a/.profile +++ b/.profile @@ -519,3 +519,11 @@ killer() { --layout=reverse --height=80% | awk '{print $2}' | xargs kill -"${1:-9}" } . "$HOME/.cargo/env" + +### Wezterm Functions ### +wezterm-install-terminfo() { + tempfile=$(mktemp) \ + && curl -o $tempfile https://raw.githubusercontent.com/wez/wezterm/master/termwiz/data/wezterm.terminfo \ + && tic -x -o ~/.terminfo $tempfile \ + && rm $tempfile +}