Pixiv - KiraraShss
167 字
1 分钟
WSL 配置
Arch 初始化脚本
运行/usr/lib/wsl/first-setup.sh
Pacman 配置
向 /etc/pacman.d/mirrorlist 写入镜像源:
Server = https://mirrors.tuna.tsinghua.edu.cn/archlinux/$repo/os/$arch更新系统与基础工具:
pacman -Syyupacman -S fishchsh -s /usr/bin/fishpacman -S neofetch gcc nano gdb git which nmap inetutils llvm sqlmap mkcert btop vim node npm pnpm编辑 locale 配置(取消注释 zh_CN.UTF-8)
文件位置 /etc/locale.gen
取消注释以下行:
zh_CN.UTF-8 UTF-8
生成:
locale-genkawaii-gcc 语言包
Waiting for api.github.com...
下载 zh-kawaii.mo 文件
重命名为 gcc.mo 后放到 /usr/share/locale/zh_CN/LC_MESSAGES/
VS Code 软链
ln -s "/mnt/c/Programs/Microsoft VS Code/bin/code" /usr/bin/codefish 历史与配置软链
rm /root/.local/share/fish/fish_historyln -s /mnt/c/Users/jhll1124/Documents/Shell/history.yaml /root/.local/share/fish/fish_historyrm /root/.config/fish/config.fishln -s /mnt/c/Users/jhll1124/Documents/Shell/config.fish /root/.config/fish/config.fishOh My Fish (OMF)
安装:
curl https://raw.githubusercontent.com/oh-my-fish/oh-my-fish/master/bin/install | fish主题目录:
cd /root/.local/share/omf/themesgit clone(你可以自行补充仓库地址)
pnpm 中国镜像源
pnpm config set registry https://registry.npmmirror.com分享
如果这篇文章对你有帮助,欢迎分享给更多人!