点文件:我使用的各种计算机之间共享的点文件 源码
我使用的计算机的配置文件 将它们安装在新计算机上 首先,将我的SSH设置(密钥和授权)转移到新计算机上 $ ssh user@host "mkdir -p /home//.ssh/" $ scp ~/.ssh/authorized_keys user@host:/home//.ssh/ $ scp ~/.ssh/github_rsa user@host:/home//.ssh/ 在那台机器上,通过SSH克隆此仓库 $ ssh-agent bash -c 'ssh-add /home//.ssh/github_rsa; git clone git@github.com:mikrostew/dotfiles.git' 然后运行脚本以链接到所有这些文件 $ cd dotfiles/ $ ./scripts/make_dotfile_links 设置
下载地址
用户评论