Created
April 22, 2019 09:47
-
-
Save zhnxin/81039a303e11606722452663fce021fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
set -e | |
pacman-mirrors -c China | |
echo '[archlinuxcn] | |
SigLevel = Optional TrustedOnly | |
Server = https://mirrors.ustc.edu.cn/archlinuxcn/$arch' >> /etc/pacman.conf | |
pacman -Syyu | |
pacman -S archlinuxcn-keyring | |
echo 'export GTK_IM_MODULE=fcitx | |
export QT_IM_MODULE=fcitx | |
export XMODIFIERS="@im=fcitx"' >> /etc/environment |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment