diff --git a/help/_posts/1970-01-01-homebrew-bottles.md b/help/_posts/1970-01-01-homebrew-bottles.md index 4feefc5..f3c3cbc 100644 --- a/help/_posts/1970-01-01-homebrew-bottles.md +++ b/help/_posts/1970-01-01-homebrew-bottles.md @@ -14,7 +14,17 @@ export HOMEBREW_BOTTLE_DOMAIN=https://{{ site.hostname }}/homebrew-bottles ``` ### 长期替换 + +如果你使用 bash: + ```bash echo 'export HOMEBREW_BOTTLE_DOMAIN=https://{{ site.hostname }}/homebrew-bottles' >> ~/.bash_profile source ~/.bash_profile ``` + +如果你使用 zsh: + +```zsh +echo 'export HOMEBREW_BOTTLE_DOMAIN=https://{{ site.hostname }}/homebrew-bottles' >> ~/.zprofile +source ~/.zprofile +```