feat(wezterm): add install function for terminfo

This commit is contained in:
Price Hiller 2022-07-29 22:01:41 -05:00
parent a0bf7ba400
commit 246b18a3e6

View File

@ -519,3 +519,11 @@ killer() {
--layout=reverse --height=80% | awk '{print $2}' | xargs kill -"${1:-9}" --layout=reverse --height=80% | awk '{print $2}' | xargs kill -"${1:-9}"
} }
. "$HOME/.cargo/env" . "$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
}