いくつかのドットファイル構成をセットアップしています。自動化にDotBotを使用していますsymlinks
.dotfile
これが私のフォルダーにある私のファイルのリストです
.git antigen install zshrch
.gitmodules dotbot install.conf.yaml
これは、抗原をセットアップするための zshrc ファイルです。
source /antigen/antigen.zsh
# Syntax highlighting bundle.
antigen bundle zsh-users/zsh-syntax-highlighting
# Load the theme.
antigen theme robbyrussell
# Tell antigen that you're done.
antigen apply
これは、DotBot 構成用の私の install.conf.yaml です。
- defaults:
link:
relink: true
- clean: ['~']
- link:
~/.dotfiles: ''
~/.zshrc: zshrc
- shell:
- [git submodule update --init --recursive, Installing submodules]
DotBot を開始するために、.dotfile フォルダーで ./install を実行するとエラーが発生します。
GDC113:.dotfiles anders.kitson$ ./install
Submodule 'lib/pyyaml' (https://github.com/anishathalye/pyyaml) registered for path 'lib/pyyaml'
Cloning into 'lib/pyyaml'...
remote: Counting objects: 1761, done.
remote: Compressing objects: 100% (818/818), done.
remote: Total 1761 (delta 618), reused 1761 (delta 618), pack-reused 0
Receiving objects: 100% (1761/1761), 1.31 MiB | 1.07 MiB/s, done.
Resolving deltas: 100% (618/618), done.
Checking connectivity... done.
Submodule path 'dotbot/lib/pyyaml': checked out 'f30c956c11aa6b5e7827fe5840cc9ed40b938d17'
All targets have been cleaned
~/.dotfiles already exists but is a regular file or directory
Nonexistent target for ~/.zshrc : /Users/anders.kitson/.dotfiles/zshrc
Some links were not successfully set up
Installing submodules [git submodule update --init --recursive]
All commands have been executed
==> Some tasks were not executed successfully
私の目標は、追跡可能な git リポジトリのサブモジュールとして anitgen と dotbot を使用して zsh をセットアップすることです。dotbot は symlkinks を作成する必要があるため、Dot ファイルを変更して github と同期させ、新しいマシンに簡単にインストールできます。
前もって感謝します!