Compare commits
No commits in common. "75f1ae819986a8e0766c17958b725b0e17940519" and "63491e29f64f81fd8bbf65ad476624e2616b086e" have entirely different histories.
75f1ae8199
...
63491e29f6
|
@ -109,11 +109,6 @@ has_bin "terminal-notifier" || nix profile install nixpkgs#terminal-notifier
|
||||||
has_bin "tig" || nix profile install nixpkgs#tig
|
has_bin "tig" || nix profile install nixpkgs#tig
|
||||||
has_bin "tldr" || nix profile install nixpkgs#tealdeer
|
has_bin "tldr" || nix profile install nixpkgs#tealdeer
|
||||||
has_bin "tokei" || nix profile install nixpkgs#tokei
|
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 "upterm" || nix profile install nixpkgs#upterm
|
||||||
has_bin "vim" || nix profile install nixpkgs#vim
|
has_bin "vim" || nix profile install nixpkgs#vim
|
||||||
has_bin "watchexec" || nix profile install nixpkgs#watchexec
|
has_bin "watchexec" || nix profile install nixpkgs#watchexec
|
||||||
|
|
|
@ -15,7 +15,6 @@ LATEST_WEZTERM=$(newest_wezterm_release)
|
||||||
install_latest_wezterm() {
|
install_latest_wezterm() {
|
||||||
curl -Lo wezterm.zip "$LATEST_WEZTERM"
|
curl -Lo wezterm.zip "$LATEST_WEZTERM"
|
||||||
ouch d wezterm.zip
|
ouch d wezterm.zip
|
||||||
rm -rf /Applications/WezTerm.app
|
|
||||||
mv WezTerm-macos-*/WezTerm.app /Applications/ && rm -rf wezterm.zip WezTerm-macos-*
|
mv WezTerm-macos-*/WezTerm.app /Applications/ && rm -rf wezterm.zip WezTerm-macos-*
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -27,3 +26,15 @@ else
|
||||||
install_latest_wezterm
|
install_latest_wezterm
|
||||||
fi
|
fi
|
||||||
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