Win10攻略
Table of Contents
微软账号
qq输入法
Emacs
WSL
Ubuntu18.04
/etc/apt/sources.list
deb http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic main restricted universe multiverse T7KEAC " 18:16 17-Jun-21 deb http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-security main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-updates main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-backports main restricted universe multiverse deb http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse deb-src http://mirrors.aliyun.com/ubuntu/ bionic-proposed main restricted universe multiverse
wsl和windows文件互传
- 在wsl中新建 window下目录的软连接
zzz_wsl_works -> /mnt/c/Users/ykyk/zzz_wsl_works
rvm
GitBash
解决中文乱码
第一步
$ git config --global core.quotepath false # 设置 git status utf-8编码 $ git config --global gui.encoding utf-8 # 设置Git GUI界面utf-8编码 $ git config --global i18n.commit.encoding utf-8 #设置commit信息utf-8编码 $ git config --global i18n.logoutputencoding utf-8 # 设置输出 log utf-8 编码
第二步 设置环境变量
- 1. 开系统环境变量
- 2. 新建环境变量 LESSCHARSET = utf8
配置
window Exec
C:\Program Files\Git\git-bash.exe
shell/window
{ "timeline.excludeSources": [ "git-history" ], "terminal.external.windowsExec": "C:\\Program Files\\Git\\git-bash.exe", "terminal.integrated.allowChords": false, "terminal.integrated.automationShell.windows": "C:\\Program Files\\Git\\git-bash.exe", "terminal.integrated.defaultProfile.windows": "Git Bash", "git.confirmSync": false, "files.autoSave": "afterDelay" }