From a9e9f19ca8f0ea0ac25b7830e54e001a4aa52bc4 Mon Sep 17 00:00:00 2001 From: Jiajie Chen Date: Fri, 21 Aug 2020 19:55:39 +0800 Subject: [PATCH] Add help for zsh shell for homebrew bottles, closing https://github.com/tuna/issues/issues/932 --- help/_posts/1970-01-01-homebrew-bottles.md | 10 ++++++++++ 1 file changed, 10 insertions(+) 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 +```