【文件属性】:
文件名称:设置:各种应用的设置文档和配置
文件大小:44KB
文件格式:ZIP
更新时间:2021-02-12 22:16:32
Shell
设置
用于本地配置的个人备份工具,以及一些应用程序的文档。 改编自 。
请随意复制,但请确保您适应自己的设置。
先决条件
如果您不是我,请先建立自己的空白Github存储库,称为setup 。
在本地启动仓库:
$ mkdir ~ /setup && cd ~ /setup
$ git init
$ git remote add origin git@github.com: < username> /setup.git
另外,在安装目录中创建要备份内容的文件夹。
配置
您需要创建两个文件。 第一个文件称为backup ,其中包含您要备份的文件的列表,如下所示:
# bash
~/.bashrc ~/setup/bash/.bashrc
~/.bash_profile ~/setup/bash/.bash_profile
# vscode
~/Library/Applicatio
【文件预览】:
setup-main
----vscode()
--------vscode-extensions.txt(727B)
--------README.md(734B)
--------settings.json(722B)
----bash()
--------.bash_profile(105B)
--------.bashrc(1KB)
----brew()
--------README.md(540B)
--------brewlist.txt(816B)
----backup.sh(1KB)
----ssh()
--------config(651B)
----com.github.lersveen.backup.plist(975B)
----scripts()
--------update_nrk_config.sh(1KB)
----k8s()
--------config(63KB)
----cron()
--------README.md(148B)
--------crontab(310B)
----git()
--------repolist.txt(2KB)
--------.gitconfig(207B)
----backup(360B)
----test.sh(82B)
----README.md(2KB)
----.gitignore(10B)