Compare commits
2 Commits
63491e29f6
...
75f1ae8199
Author | SHA1 | Date |
---|---|---|
Andrew Coleman | 75f1ae8199 | |
Andrew Coleman | 9353334c1a |
|
@ -109,6 +109,11 @@ has_bin "terminal-notifier" || nix profile install nixpkgs#terminal-notifier
|
|||
has_bin "tig" || nix profile install nixpkgs#tig
|
||||
has_bin "tldr" || nix profile install nixpkgs#tealdeer
|
||||
has_bin "tokei" || nix profile install nixpkgs#tokei
|
||||
has_bin "typst" || nix profile install nixpkgs#typst
|
||||
has_bin "typstfmt" || nix profile install nixpkgs#typstfmt
|
||||
has_bin "typst-lsp" || nix profile install nixpkgs#typst-lsp
|
||||
has_bin "typst-live" || nix profile install nixpkgs#typst-live
|
||||
has_bin "typst-preview" || nix profile install nixpkgs#typst-preview
|
||||
has_bin "upterm" || nix profile install nixpkgs#upterm
|
||||
has_bin "vim" || nix profile install nixpkgs#vim
|
||||
has_bin "watchexec" || nix profile install nixpkgs#watchexec
|
||||
|
|
|
@ -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