https://github.com/darai0512/dotfiles に最新内容を記載。
古いものは以下を除き削除(必要なら履歴から)
(過去ログ)brew-file移行元の操作
これはコミッタ様が直してくれたので残している。
実際の操作は最新docsを確認。
https://homebrew-file.readthedocs.io/en/latest/getting_started.html
以下古い内容
$brew-file init
Do you want to set a repository (y)? ((n) for local Brewfile). [y/n]: y
Set repository, "non" for local Brewfile,<user>/<repo> for github repository,
or full path for the repository: non
initではGithubリポジトリと連携する場合に"non"以外の文字列を入れるが、
一度リポジトリを設定してしまうと、変更は$brew-file set_repo
でできるものの、削除はできない様子。
自分は間違えてlocal pathを入れてしまい、$brew-file set_repo
で"non"と答え直してBrewfileを生成できたが、
再度$brew-file init
をしても最初に入力したpathを探されて困った。
=> こちら修正されました(コメント欄参照)
cask系は$brew cask install [app-name]
ではなくGUI(dmgファイル)で既に導入済みの場合、Brewfileには含まれないため、必要なら手動で打ち込む。