rename script to only manage wezterm
parent
63491e29f6
commit
9353334c1a
|
@ -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
|
Loading…
Reference in New Issue