2024-12-28 10:59:10 +08:00
#!/bin/bash
2025-01-27 11:40:07 +08:00
# LaTeX
brew install texlive
2024-12-28 10:59:10 +08:00
# emacs
brew tap d12frosted/emacs-plus
brew uninstall emacs-plus
2025-01-19 22:28:23 +08:00
brew install emacs-plus --with-xwidgets --with-imagemagick --with-dbus --with-ctags
2024-12-28 10:59:10 +08:00
brew services restart d12frosted/emacs-plus/emacs-plus@29
osascript -e 'tell application "Finder" to make alias file to posix file "/opt/homebrew/opt/emacs-plus@29/Emacs.app" at POSIX file "/Applications" with properties {name:"Emacs.app"}'
# fonts
2025-01-21 21:48:57 +08:00
brew tap laishulu/homebrew
2024-12-28 10:59:10 +08:00
brew install --cask font-sarasa-nerd
brew install --cask font-symbols-only-nerd-font
# lsp-bridge
pip3 install epc orjson sexpdata six setuptools paramiko rapidfuzz pynput pyobjc --break-system-packages
brew install node
npm install -g yaml-language-server
npm install -g bash-language-server
npm install -g vscode-langservers-extracted
brew install texlab
2025-01-19 22:28:23 +08:00
brew install basedpyright
2025-01-27 11:40:07 +08:00
brew install ruff
brew install beancount-language-server
2024-12-28 10:59:10 +08:00
2024-12-29 10:50:47 +08:00
# aider
brew install aider
2025-01-03 18:10:02 +08:00
# rime
brew install --cask squirrel
brew install librime
2025-01-21 07:55:28 +08:00
git clone https://github.com/iDvel/rime-ice.git && cd rime-ice
sed -i '' 's/page_size: 5/page_size: 9/' default.yaml
wget https://github.com/amzxyz/RIME-LMDG/releases/download/LTS/wanxiang-lts-zh-hans.gram
cat <<EOL > rime_ice.custom.yaml
patch:
grammar:
language: wanxiang-lts-zh-hans.gram
collocation_max_length: 5
collocation_min_length: 2
translator/contextual_suggestions: true
translator/max_homophones: 7
translator/max_homographs: 7
EOL
cd ..
cp -r ./rime-ice/* ~/.config/fcitx/rime/
cp -r ./rime-ice/* ~/Library/Rime
rm -rf rime-ice
brew install --cask switchkey
2025-01-03 18:10:02 +08:00
2025-01-21 21:48:57 +08:00
# org-pomodoro
2025-01-19 22:28:23 +08:00
brew install terminal-notifier
2024-12-28 10:59:10 +08:00
# fetch submodules
git submodule update --init