Skip to content

Instantly share code, notes, and snippets.

@dosentmatter
Last active February 26, 2019 00:27
Show Gist options
  • Save dosentmatter/620c5d613aeedfd717a6d6a795a0ad5b to your computer and use it in GitHub Desktop.
Save dosentmatter/620c5d613aeedfd717a6d6a795a0ad5b to your computer and use it in GitHub Desktop.
Squirrel@0.11.0 macOS jyutping
# You can install manually or use homebrew cask.
brew cask install squirrel
cd ~ || exit
# This will clone a git repo in your ~ directory.
# It will also install the set of preset schemas and the jyutping schema.
curl -fsSL https://git.io/rime-install | bash -s -- :preset jyutping
# This will overwrite your current ~/Library/Rime/default.custom.yaml
cat <<EOF > ~/Library/Rime/default.custom.yaml
patch:
schema_list:
- schema: jyutping
EOF
# Redeploy squirrel
# ---
# Squirrel@0.11.0 has separated the schemas from the main install.
# You have to use the `rime-install` bash script of the plum repo to install/update schemas.
# Resources:
# Some are in Chinese. Paste the URL into https://translate.google.com, if needed.
# https://github.com/rime/squirrel/issues/265
# https://github.com/rime/squirrel/issues/279
# https://github.com/rime/plum
# https://github.com/rime/rime-jyutping
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment