rename script to only manage wezterm

main
Andrew Coleman 2024-02-04 23:10:38 -05:00
parent 63491e29f6
commit 9353334c1a
1 changed files with 1 additions and 12 deletions

View File

@ -15,6 +15,7 @@ LATEST_WEZTERM=$(newest_wezterm_release)
install_latest_wezterm() {
curl -Lo wezterm.zip "$LATEST_WEZTERM"
ouch d wezterm.zip
rm -rf /Applications/WezTerm.app
mv WezTerm-macos-*/WezTerm.app /Applications/ && rm -rf wezterm.zip WezTerm-macos-*
}
@ -26,15 +27,3 @@ else
install_latest_wezterm
fi
fi
[ -d /usr/local/bin ] || sudo mkdir /usr/local/bin
install_typst() {
echo "manually installing typst"
curl -sLO https://github.com/typst/typst/releases/download/22-03-21-2/typst-x86_64-apple-darwin.tar.gz
ouch d typst*.tar.gz
sudo install -m 755 typst*/typst /usr/local/bin/
rm -rf ./typst*
}
[ -e "/usr/local/bin/typst" ] || install_typst