rime / plum

東風破 /plum/: Rime configuration manager and input schema repository
GNU Lesser General Public License v3.0
1.38k stars 140 forks source link

当系统中有 WSL (Windows Subsystem for Linux) 时会使用 Linux 的 bash #35

Closed amorphobia closed 4 years ago

amorphobia commented 4 years ago

这样会导致以下两个问题:

  1. plum bootstrap 下载的 shell 脚本的换行被保存为 CRLF (\r\n), WSL 的 bash 不能识别
  2. 手动将 shell 脚本的换行改为 LF (\n) 后,输入方案被安装到 WSL 的 ~/.config/ibus/rime 里,而不是 Windows 的 %APPDATA%\Rime
lotem commented 4 years ago

WSL的問題先不處理了。配方管理器有待用新的技術重新實現。

lotem commented 4 years ago

第二個問題已經在這裏解決。